How can I split a PHP form into two sections, before submission to a database?
Posted
by Daniel Smith
on Stack Overflow
See other posts from Stack Overflow
or by Daniel Smith
Published on 2010-03-19T14:56:00Z
Indexed on
2010/03/19
15:01 UTC
Read the original article
Hit count: 312
Hi guys,
I have set up a PHP form for a competition, for users to enter and all information to be stored in a database. I used the following NetTut+ tutorial to do so: http://tr.im/SwAd.
I've got the form submitting to the database as required, but with so many additional questions being asked, I would like to split the form into two separate sections. Obviously the first page would say continue to the next step before the second step allowing for the form to be submitted to the database.
The content that the user sees should be split, but should all be a part of the same form. Step 1 > Step 2 before submission.
Would anyone know of or recommend any methods to do this?
I'm a beginner so please be nice. :)
Cheers,
Daniel
© Stack Overflow or respective owner