Forum Moderators: coopster
I know how sessions work, but I don't know how to preserve the values between the pages of the signup form. I.e. when I go from page 1 to 2, then I use a submit button. But I want to be able to go back and change what I have filled in in page 1. But do I have to submit again?
Because If you want to do this without a submitbutton, say a link, then you can't say if you use POST.
<input type='submit' name='s' value='Next'>
<input type='submit' name='s' value='Previous'>
When the button is pressed, the variable 's' will contain either 'Next' or 'Previous' depending on which was pressed.