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); ?>
=$name;?>
=$year;?>
num_rows()>0){ foreach($get_degree->result() as $d) { $degId=$d->degId; $degName=$d->degName; $subjectId=$d->subjectId; $subId = explode(",", $subjectId); ?>
Degree
=$degName;?>
Subject
Semester_model->get_subject($subIdd); if($getSub->num_rows()>0) { $list=$getSub->row(); $subName=$list->name; } ?>
Semester_model->get_subject($subIdd); if($getSub->num_rows()>0) { $list=$getSub->row(); $subName=$list->name; } ?>
=$i;?>.=$subName;?>