dambuster Posted October 23, 2007 Share Posted October 23, 2007 Is it possible to load variables held in a set of cookies into HTML form variables using PHP? thx Quote Link to comment https://forums.phpfreaks.com/topic/74429-cookie-variables/ Share on other sites More sharing options...
LemonInflux Posted October 23, 2007 Share Posted October 23, 2007 I don';t understand...You mean can you set variables into cookies, and then use them as form variables? I guess so. Set the cookie, and then set a hidden field value as said cookie. Quote Link to comment https://forums.phpfreaks.com/topic/74429-cookie-variables/#findComment-376030 Share on other sites More sharing options...
dambuster Posted October 23, 2007 Author Share Posted October 23, 2007 I have some variable data held in cookies. I would like to use this data to set as the default value on the input form in HTML. Can this be done in PHP? I don'y want this data hidden from the user. Quote Link to comment https://forums.phpfreaks.com/topic/74429-cookie-variables/#findComment-376187 Share on other sites More sharing options...
BlueSkyIS Posted October 23, 2007 Share Posted October 23, 2007 Yes, this can be done with PHP. Quote Link to comment https://forums.phpfreaks.com/topic/74429-cookie-variables/#findComment-376208 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.