La requette est invalide :
# SELECT id,titreFilm, DATE_FORMAT(dateSortie,'%d-%m-%Y') dateSortieFormatee, COALESCE( note , -1 ) note, texteCritique,image,video,affiche, texteSynopsis FROM critique where genre<>'PAS-AFFICHE' and id= #
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 '' at line 2