How can I split a PHP form into two sections, before submission to a database?
- by Daniel Smith
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