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 '\r\nfrom module_photo1_photos where id=576 order by id desc' at line 1
select id, name, filename1, filename2, description, price\r\nfrom module_photo1_photos where id=576 order by id desc