I would like some help from some of you PHP experts.
This is the situation:
I would like to create an online questionnaire/survey that collects information about peoples gaming habits.
I have a paper version of this questionnaire, the questionnaire is broken down into sections (Section 1, 2, ...). Each section has a list of questions.
I would like to be able to create an online version using multiple forms. Once one section is filled out I would like the person to be taken to the next section. Thus only one section needs to be displayed at a time. It would be nice if I could have all the questions/sections in one PHP script, that only displays one section at a time without the need to open a new page(window) or be taken to a new php script.
I will need form information to be passed from form to form so that on the finial section the write to the database can occur.
If someone could give me an example of the coding involved or offer me any help then I would be extremely thankful.
PS The next question/section displayed will sometimes depend on the users input, for example if they state no to the question "Do you play games" then I would like to skip all the other questions and be taken to the finial section or indeed any section of my choice.
Kindest Regards
Andi
andrew@lanenuff.com