dk4210
07-17-2012, 07:02 PM
Hello Guys..
I have two mysql tables one called "ads" and the other called "ads_photo" and what they have in common is the ad_id.
I need to be able to query both tables (maybe a left join?) and grab the top 8 - 10 profile_photos out based on the date.
The columns
Table - ads
ad_id, ad_date
--------------------------------
Table - ads_photo
profile_photo
Just need some help..Thanks!
I have two mysql tables one called "ads" and the other called "ads_photo" and what they have in common is the ad_id.
I need to be able to query both tables (maybe a left join?) and grab the top 8 - 10 profile_photos out based on the date.
The columns
Table - ads
ad_id, ad_date
--------------------------------
Table - ads_photo
profile_photo
Just need some help..Thanks!