I am trying to create a php page that has 2 drop down lists and a search box, the drop down list are filled via database.
for exmlpe My database can be something like.
Table 1
Subject ID
Subject
Table 2
Subject ID
paper ID
Paper
Table 3
Subject ID
Paper ID
Title
Des
Drop down box 1 will be filled from Table 1 (subject)
Drop down box 2 is filled from Table 2 based on what subject is selected in Drop down box 1
when a search word is entered into the search box then table 3 is searched based on the search box and what is selected in down down boxes 1 and 2
the search result is displayed in a different page as links, the link when clicked displays the Full record that is in table 3.
Can someone please tell me how to or help me do this?
Thanks
for exmlpe My database can be something like.
Table 1
Subject ID
Subject
Table 2
Subject ID
paper ID
Paper
Table 3
Subject ID
Paper ID
Title
Des
Drop down box 1 will be filled from Table 1 (subject)
Drop down box 2 is filled from Table 2 based on what subject is selected in Drop down box 1
when a search word is entered into the search box then table 3 is searched based on the search box and what is selected in down down boxes 1 and 2
the search result is displayed in a different page as links, the link when clicked displays the Full record that is in table 3.
Can someone please tell me how to or help me do this?
Thanks







