its from multiple tables. thats where i'm having trouble. i have four tables
Route (course #, Course title)
Year (1, 2, 3, 4) not sure how to define primary key is this table. it also contains no data
semester(1,2,3,4,5,6,7,8) same as above
Module(Module#, Module title, course#)
so far i have 1 route contains many modules
many routes have many years so i resolved this by 1 route has many route/years and 1 year has many route/years
1 year has many semesters
1 semester has many modules
now i want a front end website that has 3 drop downs. when the user chooses what route, year and semester they are studying and clicks submit i want php to connect to the database and echo back the modules which he can study.
hope you can help. i'm confused with the year and semester tables.