gallery(); } if(!empty($_POST['mul_del'])) { foreach($_POST['mul_del'] as $code) { $id= $code; $photo_sql= "SELECT gal_image FROM gallery WHERE gal_id='".$id."'"; $rs= mysqli_query($obj->mysqli,$photo_sql); $photo= mysqli_fetch_assoc($rs); if(is_file('upload/gallery/'.$photo['gal_image'])) { unlink('upload/gallery/'.$photo['gal_image']); } } $col= 'gal_id'; $table= 'gallery'; $page= 'gallery.php'; $img= "gal_image"; $path= "upload/gallery/"; $obj->delete_multiple($col,$table,$page,$path); } if(!empty($_REQUEST['edit'])) { $val= $_REQUEST['edit']; $row= $obj->getRecord('gallery','gal_id',$val); } ?>
errorMsg)){ ?>

errorMsg; ?>

Gallery Entry


"; echo ""; } } ?>

Gallery View

".$_REQUEST['msg']."

"; } ?>
getTable('gallery','gal_id desc'); if($res){ $i=1; foreach($res as $gal_data){ ?>
# Sr. No. Gallery Type Gallery Title Date Gallery Image Action
Edit    Delete