patient(); } if(!empty($_POST['mul_del'])){ $col= 'pat_id'; $table= 'patient'; $page= 'patient.php'; $obj->delete_multiple($col,$table,$page); } if(!empty($_REQUEST['edit'])){ $val= $_REQUEST['edit']; $row= $obj->getRecord('patient','pat_id',$val); } ?>
errorMsg)){ ?>

errorMsg; ?>

Patient Entry

Patient View

".$_REQUEST['msg']."

"; } ?>
getTable('patient','pat_id desc'); if($res){ $i=1; foreach($res as $pat_data) { $sql= "SELECT * FROM department WHERE department_id='".$pat_data['department_id']."'"; $rs= mysqli_query($obj->mysqli,$sql); if($rs) { foreach($rs as $data) { ?>
# Sr. No. Dprt. Treat For Treat By Procedure. Location Video Description Date Action
Edit    Delete