Need help with a form based on html/php/mysql

yourDesigns

New Member
Hey Webdesignforum,

EDIT:
This is exactly what i am trying to accomplish:
http://www.rocva.nl/mbo/Opleidingen/Aanmelden/Pages/Digitaal_aanmelden.aspx

As you can see this is an ASP page. I am trying to do this with PHP.





I'm trying to create a form which is based on items in a MySQL database.
Currently i am using HTML, PHP and MySQL alltogether.
The problem is i don't know how to make progress at the moment.

I am creating a register form for something.
The form is based on 3 things mainly.

*Year
*Study
*Section

Every one of those items has a different table inside my database.

I want it to work like this:
The user selects a year from a <select> dropdownbox (which is taken from the database table Year)

Now everything from the study table will be selected which is qualified for the selected year and this will be displayed in another <select> dropdownbox.

When the user has selected a study from the box.. yet another one will display below with the matching sections.

I do not want to display the 3 boxes at the same time.
First the year <select> box is visible.

Once the user has selected a year, a new box appears below with the studies (only available from the year the user specified).

After the user has selected a study, yet another box appears below with only the sections for that selected study.

Can someone please help me out?

I have uploaded my code & database so you can take a look.
http://yourdesigns.nl/aanmeldformulier.rar

Thanks in advance :)
 
Last edited:
Top