MySQL Query : SELECT COUNT(*) as count FROM (SELECT * FROM bc_picture where catid IN () and huxing=3) T MySQL 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 huxing=3) T' at line 1 MySQL Errno : 1064 Message : 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 huxing=3) T' at line 1 Need Help?