ERROR: 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 'ORDER BY article_id DESC LIMIT 100' at line 4
---
SELECT *, DATE_FORMAT(article_submitteddate, '%b %D %Y') AS article_submitteddate2 , DATE_FORMAT(article_submitteddate, '%r') AS article_submitteddatetime FROM ams_articles LEFT JOIN ams_articleratings ON article_id = articlerating_articleid
INNER JOIN ams_users ON user_id = article_submitterid
WHERE article_state = 1
AND article_submitterid = ORDER BY article_id DESC LIMIT 100
---
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 'ORDER BY article_id DESC LIMIT 100' at line 4