An Error Was Encountered
Error Number: 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 a_image.gallery_id = a_image_gallery.id and a_image_gallery.type='news'' at line 1
select * from a_image, a_image_gallery where a_image.gallery_id= and a_image.gallery_id = a_image_gallery.id and a_image_gallery.type='news'
