multiple page form
Moderator: General Moderators
multiple page form
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!
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Re: multiple page form
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
http://www.php.net/manual/en/book.session.php