load->view('includes/header');?> load->model('Semester_model');?>
load->view('includes/sidebar');?>
Semester View
load->view('includes/msg');?>
num_rows()>0) { $view=$viewSemester->row(); $id=$view->id; $name=$view->name; $year=$view->year; $get_degree=$CI->Semester_model->getDegree($id); //echo $this->db->last_query();exit; } ?>

num_rows()>0){ foreach($get_degree->result() as $d) { $degId=$d->degId; $degName=$d->degName; $subjectId=$d->subjectId; $subId = explode(",", $subjectId); ?>
Degree

Subject
Semester_model->get_subject($subIdd); if($getSub->num_rows()>0) { $list=$getSub->row(); $subName=$list->name; } ?>

.

load->view('includes/footer');?>