Actualités
Erreur SQL
SELECT n.* , t.theme , c.category , p.title AS place
FROM news_gene_ok AS n
LEFT OUTER JOIN (annu_theme AS t) ON (t.id_unique = n.id_theme )
LEFT OUTER JOIN (annu_category AS c) ON (c.id_unique = n.id_category)
LEFT OUTER JOIN (annu_places_ok AS p) ON (p.id_unique = n.id_place )
WHERE 1 AND n.valid LIKE 'ok' AND (type_content LIKE 'news') ORDER BY rank LIMIT 24
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 'LIMIT 24' at line 6