View Single Post
Old June 28th, 2010, 01:05 AM   #8 (permalink)
Simka
Member
Verified Customer
 
Join Date: Jun 2010
Posts: 142
I wanted the sql code above, to only pull ads where advertiser have payed for "Make ad italic"

$result = mysql_query("SELECT id,cat,bigimage FROM cp_products WHERE bigimage != '' order by rand() LIMIT 1" ) or die(mysql_error());
Simka is offline   Reply With Quote