Hey, just a quick question about the following code:
<input name='name' type='text' class='form' value='<?php echo "" . (isset($_REQUEST['name'])) ? dataClean(ex_clean($_REQUEST['name'])) : FALSE . "";?>' size="40" rows='5' />
Now, if the user has errors in the form details and clicks submit, the page refreshes and it displays what errors need fixing, but it keeps the data that the user filled in.
Can anyone tell me how to go about adding a peice of code to this to make it so that it will keep the data with a regular page refresh?
I got some help with this the other day, but can't figure out how to do it with the PHP being used here.
Any ideas?
Basically I was the form to stay with all the inputs filled in after a regular page refresh. I know there's alot of help with this floating around but I couldn't find anything specific enough.
Any help appreciated