select * from erp_news WHERE classid= and nid !=2748 order by lastedittime desc limit 0,6You 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 nid !=2748 order by lastedittime desc limit 0,6' at line 1