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('2017-09-26','2017-09-23') orde' at line 1