Page 1 of 1

Help with get results from sql

Posted: Wed Jul 07, 2010 2:16 pm
by alvarogtc
hi guys, i have 2 tables

# 1 - tb_cars (id, id_make, id_model, year, picture)

# 2 - tb_cars_make (id, name, picture)

exemple i have 15 makes on my tb_cars_make

and i have 5 cars on my tb_cars

my while will show only the makes that is used on tb_cars (no repeat)

can somebody help me if someone get my point??

Re: Help with get results from sql

Posted: Wed Jul 07, 2010 2:56 pm
by requinix
You've mentioned what you have so how about mentioning what you want?

And posting code while you're at it.