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 user_id > 1 ORDER BY 10 LIMIT 10' at line 1 --- SELECT * FROM ams_users WHERE 1=1 ORDER BY user_article_count DESC AND user_id > 1 ORDER BY 10 LIMIT 10 --- 2010-09-10 08:44:01 (CDT)/food-and-beverage/2WarningTEMPLATE Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resourceTemplate: universal -- topusers [php part], Skin: default (/home/archana/public_html/articlescommitx/code/db_mysql.php)127
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 user_id > 1 ORDER BY 10 LIMIT 10' at line 12010-09-10 08:44:01 (CDT)/food-and-beverage/2WarningTEMPLATE Warning: Cannot modify header information - headers already sent by (output started at /home/archana/public_html/articlescommitx/code/db_mysql.php:101)Template: universal -- footer [html part], Skin: default (/home/archana/public_html/articlescommitx/code/articlems.php)85