PDA

View Full Version : Keeping data in text form when using the back button?


woofy
04-18-2011, 07:43 PM
I have a page where users enter data into a text form then click preview which brings them to another page to see their results. If they want to modify what they enter they click the back button however all the data they have entered into the form is gone. Is there a way to have that data remain in the form, or should I just tell them to copy the data before clicking the preview button?

edbr
04-19-2011, 01:23 AM
check this article http://www.tizag.com/phpT/php-htmlentities.php

davidj
04-19-2011, 11:21 AM
store the data in a session which you can re-read if you need to populate a form

edbr
04-20-2011, 01:21 AM
i dont know why i answered that. i think it was for another post.