Erreur : You have an error in your SQL syntax

Fermé
jabrinet Messages postés 2 Date d'inscription mercredi 5 décembre 2007 Statut Membre Dernière intervention 5 décembre 2007 - 5 déc. 2007 à 23:06
Christounet Messages postés 1264 Date d'inscription mercredi 26 septembre 2007 Statut Membre Dernière intervention 29 juillet 2010 - 6 déc. 2007 à 16:13
erreur : 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 '12' at line 8
n°: 1064
Date: Wednesday 05th of December 2007 04:31:22 PM
---------------Query---------------
dans ce script:
SELECT rafia_news.*,COUNT(rafia_comment.news_id) as numrows
FROM rafia_news LEFT JOIN rafia_comment
ON rafia_news.id = rafia_comment.news_id
WHERE rafia_news.allow = 'yes'
AND rafia_news.inindex = '1'
GROUP BY rafia_news.id
ORDER BY rafia_news.id DESC
LIMIT ,12


aidez moi à regler ce probleme
merci
un peu d'explication svp

2 réponses

tarah Messages postés 46 Date d'inscription samedi 19 mai 2007 Statut Membre Dernière intervention 21 avril 2008 113
6 déc. 2007 à 14:40
Bonjour,
Il y a une erreur à la ligne 12,c'est probablement à cause de la virgule entre LIMIT et 12 ???
@+
0