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

errorMsg; ?>

Consultant Entry


"; echo ""; } } ?>

Consultant View

".$_REQUEST['msg']."

"; } ?>
getTable('consultant','doc_id desc'); if($res){ $i=1; foreach($res as $doc_data) { $sql= "SELECT * FROM department WHERE department_id='".$doc_data['department_id']."'"; $rs= mysqli_query($obj->mysqli,$sql); if($rs) { foreach($rs as $data) { ?>
# Sr. No. Photo Doctor Name Qualification Department Phone No. E-mail Id Desc. Date Action
Edit    Delete