db->get_where('settings' , array('type' => 'running_year'))->row()->description; ?>
db->get_where('class', array('class_id' => $id))->row()->name;?>
db->get_where('section', array('section_id' => $row['section_id']))->row()->name;?>
db->order_by("time_start", "asc"); $this->db->where('day' , $day); $this->db->where('class_id' , $id); $this->db->where('section_id' , $row['section_id']); $this->db->where('year' , $running_year); $rout = $this->db->get('class_routine'); $routines = $rout->result_array(); foreach($routines as $row2): $teacher_id = $this->db->get_where('subject', array('subject_id' => $row2['subject_id']))->row()->teacher_id; ?> |
crud_model->get_subject_name_by_id($row2['subject_id']);?> db->get_where('teacher', array('teacher_id' => $teacher_id))->row()->name;?> |