When a user visits my page, I would like them to have 2 choices in the form of radio buttons:
1) Personal Information
2) Work Information
http://www.drychalk.com/_/step1.html
In the next step, depending on the choice they made in the previous step, I would like to ask them for the information. However, regardless of whichever choice they select, I always want to ask them for the "Other Information", please take a look: http://www.drychalk.com/_/step2.html My question is that how do I use PHP to display the appropriate form fields and hide the others so that I am asking them only about the choice they made in the previous step (and for the "Other Information"). Do I embed all of the form in step2.html in a php file that I use for the "action" attribute in the form of step1.html? or should I do something else... Ultimately I would like to save the information submitted by the user in a MySQL database.
http://www.drychalk.com/_/step2.html
It would be very much appreciated is someone could provide a working example of this, thank you for your support and helping out a newbie. =)