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

errorMsg; ?>

Accreditation Entry


"; echo ""; } } ?>

Accreditation View

".$_REQUEST['msg']."

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