SELECT DISTINCT article.id, article.designation, article.prix, article.prix_promo, article.en_stock, article.epuise, article.delais_reappro, article_heros.heros, BIBLIO.titre AS titre_vignette, BIBLIO.fichier AS fichier_vignette FROM (article, article_heros, article_etats_associations) LEFT JOIN BIBLIO ON (BIBLIO.id=article.id_vignette) WHERE article.active='1' AND article.id_heros=article_heros.id AND (article.id=article_etats_associations.id_article AND article_etats_associations.id_etat='1') ORDER BY article.date_modif DESC, article.id DESC
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 '-20,20' at line 1