Mon book photo > :
select * from tb_photos_evenement where id_evenement= and affiche='on' order by position, id_photo desc
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 'and affiche='on' order by position, id_photo desc' at line 1