db->get_where('settings' , array('type'=>'running_year'))->row()->description;?>
db->get_where('student' , array('parent_id' => $this->session->userdata('parent_id')))->result_array(); foreach ($children_of_parent as $row2): ?>
: db->get_where('student', array('student_id' => $row2['student_id']))->row()->name;?>
db->get_where('enroll', array('student_id' => $row2['student_id'], 'year' => $running_year))->row()->class_id; $this->db->order_by("timestamp", "desc"); $study_material_info = $this->db->get_where('document', array('class_id' => $class_id))->result_array(); foreach ($study_material_info as $row) { ?>
db->get_where('subject' , array('subject_id' => $row['subject_id'] ))->row()->name;?>