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 DEBUT <= '2018-07-31' AND FIN >= '2018-07-01' AND ( STATUT='' OR STATU' at line 2