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\xE9\x9A\x86\xE5\x9D\xA1U23%' and to_days('2025-12-27 17:14:5' at line 1 select * from ***_ecms_live where like '%吉隆坡U23%' and to_days('2025-12-27 17:14:51')=to_days(start_time) order by newstime ASC limit 100