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 'ORDER BY CASE WHEN infotext = 'Eastman' THEN 1 WHEN MATCH(infotext) AGAINST('"' at line 1
select * from ***_ecms_10hscode where MATCH(infotext) AGAINST('"Eastman"' IN BOOLEAN MODE) order by ORDER BY CASE WHEN infotext = 'Eastman' THEN 1 WHEN MATCH(infotext) AGAINST('"Eastman"*' IN BOOLEAN MODE) THEN 2 WHEN MATCH(infotext) AGAINST('*"Eastman"*' IN BOOLEAN MODE) THEN 3 END limit 0,15