public function patient_list() { //echo "hiiii"; include 'model/doctor.php'; $_SESSION['ptList'] = Doctor::list_patient(); header('location: view/doctor/patient_list.php'); }