Page 1 of 1

multiple page form

Posted: Wed Nov 25, 2009 8:29 pm
by prue_
hi! I have a multiple page form..(4 pages) the problem is I'm not able to go back and forth of the pages.. how can I save the user input (textboxes and dropdowns) so I'll be able to click next or back button without losing any data. can someone give me an idea how, or post post sample codes. I have tried the rememberme code, but the cookies were stored in a day, I want it to be clear when the user finally hits the submit button.Also it only remembers textboxes.. I'm thinking of having a session variable but don't know how to start with it... Many thanks!

Re: multiple page form

Posted: Wed Nov 25, 2009 8:54 pm
by daedalus__
storing information in the session would be fine. you could store it wherever you want, really. in a text file, session, cookies, it depends on what you feel like writing

http://www.php.net/manual/en/book.session.php