Help with get results from sql

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alvarogtc
Forum Newbie
Posts: 1
Joined: Wed Jul 07, 2010 1:32 pm

Help with get results from sql

Post 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??
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Help with get results from sql

Post by requinix »

You've mentioned what you have so how about mentioning what you want?

And posting code while you're at it.
Post Reply