public function roomwise_student_details() { $posts = Resident::manage_student(); require_once 'views/admin/RoomwiseStudentDetails.php'; }