Can't execute query :
select * from news_items where categorie_id = and etat = 3 and dateOut <= now() and dateOut != '0000-00-00';
Database 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 etat = 3 and dateOut <= now() and dateOut != '0000-00-00'' at line 1
|