Page 1 of 1

Multipage Register Form

Posted: Mon Jul 10, 2006 3:59 pm
by tecktalkcm0391
If I have a multipage register form, how do I get the information from the first page to the last where it would then be processed and put into the database.

Posted: Mon Jul 10, 2006 4:02 pm
by dull1554
My suggestion would be to use session variables
and once you write your data to the database destroy_session();

Posted: Mon Jul 10, 2006 4:33 pm
by Christopher
You have a couple of options

- pass collected values in hidden fields on each successive form

- save values in the session as you go

- save values in the database as you go

Which one you choose depends on other requirements.

Posted: Mon Jul 10, 2006 5:22 pm
by tecktalkcm0391
Well I am doing something to list things on my website. Like an post, but it has multi-pages.

But I'll figure out something thanks!