1064 - 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 gallery_type=0 ORDER BY display_index ASC' at line 1
SELECT file1, file2, title FROM gallery2 WHERE id_gallery= AND gallery_type=0 ORDER BY display_index ASC
[TEP STOP]