View Single Post
Old November 14th, 2005, 03:21 PM   #2 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
well a AND statement in a mysql query would go somewhere after the WHERE statement and somewhere before the ORDER BY statement

SELECT something FROM photos WHERE approved=1 AND cat != 513 ORDER BY views
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote