yea make model of cars

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
search4f
Forum Newbie
Posts: 1
Joined: Tue May 18, 2010 7:21 pm

yea make model of cars

Post by search4f »

I am new to php and my sql so please bear with me. I am using a program php runner.
I have 3 fields year make model that need to be drop down lists dependent on the prior selection. for instance if they chose 200 toyota there wont be a tercel as a choice be cause it wasn't made. i have a csv file that has all the correct data. what i need to know is what tables and what fields to create. and how to set up the link field so make only shows makes for the year chosen and model shows only those for the chosen year and make
thanks
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: yea make model of cars

Post by Benjamin »

This is called a Chained Select. Search for ajax chained select and you should find plenty of information.
Post Reply