SELECT id, name, img_path FROM tbl_galleries WHERE active = '1' && url_path = 'skydiving-images'

/home3/on/nzaerosports.com/includes/databaseClass.php23query