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 '4832,4833,4834,4835,4836,424,249) order by newstime desc limit 20' at line 1 select id,classid,tagid from ***_zjmoretags_zj_cizu where tagid in(,4832,4833,4834,4835,4836,424,249) order by newstime desc limit 20