View Full Version : Best way to bring forward values

11-07-2006, 12:25 PM
I would like to create user entry forms spanning over 4 pages with values only commited on the last page's submit.

What is the best way to bring forward the values of user's entry from all the first 3 pages to the 4th and then commit them into the database at the same time?


11-07-2006, 12:32 PM
Probably in session variables or by inserting the data into a temporary table in the database and then copying it over.

11-07-2006, 01:47 PM
How do I carry forward a session variables to the 4th page?
I know how to have the values to the 2nd page using type=hidden in the 1st, but to the 4th, can it be done?

11-07-2006, 03:20 PM
"Session" variables are carried over automaticly assuming that you don't start a new session on every page.
The "type=hidden" gave me a hint that you might be wanting to store form data from many pages. You should store the data in a session variable.

11-07-2006, 03:45 PM
I got it.
Thanks for the tip.