Error: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 ') and fld_status='1' and fld_advdays <= datediff('2018-09-27','2018-09-24') orde' at line 1