November 14th, 2005, 03:21 PM
|
#2 (permalink)
|
| Photopost Developer Verified Customer
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
|
| |