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 ') LIMIT 6' at line 1
SELECT id,classid,title,titlepic,smalltext,newstime FROM ***_ecms_news WHERE title LIKE '%新疆%' and classid in () LIMIT 6