ERREUR: SELECT photo, nom_fr FROM pages_photos WHERE visible = 1 AND id_pages= ORDER BY position 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 'ORDER BY position' at line 1