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 '%\xE5\x90\x89\xE8\xBE\xBE\xE5\x9B\xBD\xE6\xB0\x91%' and to_days('2024-11-2' at line 1 select * from ***_ecms_live where like '%吉達國民%' and to_days('2024-11-25 13:15:49')=to_days(start_time) order by newstime ASC limit 100