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 25' at line 1
SELECT id FROM `***_ecms_news` WHERE MATCH(`title`) AGAINST('课外书') and id not in() LIMIT 25