Requête erronée: 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 ordre_affichage< AND est_publie='YES' ORDER BY ABS(ordre_affichage) DESC LIM' at line 1

SELECT * FROM projets WHERE id<> AND ordre_affichage< AND est_publie='YES' ORDER BY ABS(ordre_affichage) DESC LIMIT 1


#1 /home/clients/2e278cec24fe68a702e9f1d315dd1544/web/cms/lib/db.php(38): obj->_error()
#2 /home/clients/2e278cec24fe68a702e9f1d315dd1544/web/pages/projet.php(28): db->execQuery()
#3 /home/clients/2e278cec24fe68a702e9f1d315dd1544/web/index.php(254): include()