Erreur SQL : SELECT caninfos.id, caninfos.titre, caninfos.txtp, caninfos.datefr, DATE_FORMAT(caninfos.datefr, '%d/%m/%Y %H:%i') AS date, caninfos.nbcomments, canphotos.nom, canphotos.fichier AS image, canphotos.copyright, canphotos.motcle FROM caninfos LEFT JOIN canphotos ON caninfos.idphoto=canphotos.id WHERE caninfos.id = LIMIT 1 : 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 1' at line 8