w

SELECT * FROM gallery_image WHERE gallery_id = '2' AND image_or_video = '1' AND active = '1' ORDER BY id DESCArrayArray

new

SELECT * FROM gallery_image WHERE gallery_id = '1' AND image_or_video = '1' AND active = '1' ORDER BY id DESCArrayArray