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-04-29','2018-04-26') orde' at line 1