Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 18th, 2004, 05:46 PM
Authorized User
 
Join Date: Jan 2004
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Default Taking information from a cookie

My website is designed to create a cookie using PHP. How can I use the cookie to set the value of a text box.
 
Old May 18th, 2004, 07:46 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

<input type=text value='<?php echo $_COOKIE['yourcookie']; ?>'>

HTH,

Snib

<><





Similar Threads
Thread Thread Starter Forum Replies Last Post
taking particular data .. anukagni Access 2 August 4th, 2006 12:05 AM
probs while taking backup anukagni MySQL 3 April 20th, 2006 03:47 AM
Autofilter taking too much of time raaghu15 Excel VBA 2 March 4th, 2005 05:43 PM
Taking headers out of spreadsheet Hudson40 Excel VBA 2 January 4th, 2005 05:35 AM
Taking action for several attributes raoulvb XSLT 1 December 1st, 2004 07:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.