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

errorMsg; ?>

Empanelments Entry


"; echo ""; } } ?>

Empanelments View

".$_REQUEST['msg']."

"; } ?>
getTable('empanelments','emp_id desc'); if($res){ $i=1; foreach($res as $emp_data){ ?>
# Sr. No. Empanelments Tittle Date Empanelments Image Action
Edit    Delete