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 'AND article_id != ORDER BY article_featured_state DESC, article_id DESC LIMIT' at line 4 --- SELECT * FROM ams_articles
INNER JOIN ams_users ON user_id = article_author_id
WHERE article_state = 1
AND article_category_id = AND article_id != ORDER BY article_featured_state DESC, article_id DESC LIMIT 10 --- 2010-03-10 20:07:44 (MST)/urban-travel/2WarningTEMPLATE Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resourceTemplate: -- featured_article [php part], Skin: AmsOutDoors (/home/content/a/f/f/affpro1234/html/outdoorsarticles.com/code/db_mysql.php)126
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 article_id != ORDER BY article_featured_state DESC, article_id DESC LIMIT' at line 42010-03-10 20:07:44 (MST)/urban-travel/2WarningCannot modify header information - headers already sent by (output started at /home/content/a/f/f/affpro1234/html/outdoorsarticles.com/code/db_mysql.php:100)/home/content/a/f/f/affpro1234/html/outdoorsarticles.com/code/articlems.php57