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 'like '%\xE6\x9F\x94\xE4\xBD\x9B\xE6\x96\xB0\xE5\xB1\xB1%' and to_days('2025-07-2' at line 1 select * from ***_ecms_live where like '%柔佛新山%' and to_days('2025-07-20 14:49:07')=to_days(start_time) order by newstime ASC limit 100