saving form fields state
Posted on 2011-10-17
I have a 'form to email' script in php.
when i fill in the long form and press submit then i press the back button in my browser the fields are all empty. is some online forms i see that the fields input are being saved... how is it done?
I am not sure this is really good idea (security reasons) but i would like to know how its done.
- the form is in POST mode
i tried to add a value like so: <?php echo $FirstName ?>
but it does not seem to work.