Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo box

Status
Not open for further replies.

rohini21

Programmer
Jan 19, 2003
49
NZ
Dear all,
I wish if someone can help me. I have makes and models in my database. I want if I select a make in a combo box then models relative to the make should be loaded in the other combo box. Say for example I have Toyota I should have all toyota models not any other make's models.

Please help.

Cheers
 
since php is a server-side language, you wont be able to update the 'model' field without reloading the page. or you could use javascript. but if you want to stick with php i suggest you make a form for 'make', submit that data to the same page and then display the relevant models. what we see depends mainly on what we're looking for.
--John Lubbock
 
Thanks for the reply. I think I'll stick to javascript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top