num_rows()>0)
{
$view=$viewFaculty->row();
$id=$view->id;
$facultyId=$view->facultyId;
$name=$view->name;
$dob=$view->dob;
$email=$view->email;
$address=$view->address;
$gender=$view->gender;
$mobileNumber=$view->mobileNumber;
$designation=$view->designation;
$image=$view->image;
if($gender==1){$gen="Male";}else{$gen="Female";}
}
?>
=$name.' - '.$gen;?>
=$facultyId;?>
Date of Birth
=$dob;?>
Mobile Number
=$mobileNumber;?>
Email
=$email;?>
Address
=$address;?>
designation
=$designation;?>