View Single Post
Old March 17th, 2009, 11:05 AM   #1 (permalink)
lifeinitaly
Member
Verified Customer
 
Join Date: Apr 2007
Posts: 46
Filter adult images in query

I would like to filter the images maked as adult out of the result of the following query -

SELECT id,cat,bigimage,width,height FROM pp_photos WHERE storecat = '0' and width > height ORDER BY rand() LIMIT 9

thanks
lifeinitaly is offline   Reply With Quote