Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND assID=37 AND catID>=0 AND priority=1 AND authorID>0 AND classID=8 AND status' at line 1 SQL:SELECT * FROM ae_articles WHERE adate<='2010-07-30' AND sectionID= AND assID=37 AND catID>=0 AND priority=1 AND authorID>0 AND classID=8 AND status=1 ORDER BY title,adate DESC, atime DESC LIMIT 10 |