load->view('include/header.php')?> load->model('WelcomeModel');?>
uri->segment(2); $getNames=$CI->WelcomeModel->getName($depId); //echo $this->db->last_query();exit; if(isset($getNames) && $getNames->num_rows()>0) { foreach($getNames->result() as $view) { $degreeId=$view->id; $degreeName=$view->name; $getSubject=$CI->WelcomeModel->getSubject($degreeId); ?>