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 '%\xE7\x9F\xB3\xE5\xAE\xB6\xE5\xBA\x84\xE5\x8A\x9F\xE5\xA4\xAB%' and to_day' at line 1 select * from ***_ecms_live where like '%石家庄功夫%' and to_days('2024-11-22 20:14:54')=to_days(start_time) order by newstime ASC limit 100