Click to See Complete Forum and Search --> : Chained selects with php and ajax...


rapidz
03-01-2008, 08:06 AM
If anyone can help here, i'd be extremely grateful.

Ok basically, I need 5 chained selects. All the options for these selects will be driven from a database.

The structure of the select will be...

TYPE > MAKE > MODEL > MOTOR > YEAR

if anyone thinks they could help it would be much appreciated.

roscor
03-01-2008, 09:02 AM
Perhaps this may help,
http://www.phpbuilder.com/board/showthread.php?t=10351159&highlight=option+select

Once you have populated the first select, then go onto create the second, third and so forth. Im not sure how exactly how but a better route would be that of AJAX/javascript (your best option!)

just google http://www.google.co.uk/search?client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&channel=s&hl=en&q=AJAX+tutorial&meta=&btnG=Google+Search