db->get_where('settings' , array('type' => 'running_year'))->row()->description; $class_id = $this->db->get_where('enroll', array('student_id' => $this->session->userdata('login_user_id'), 'year' => $running_year))->row()->class_id; $section_id = $this->db->get_where('enroll' , array('student_id' => $this->session->userdata('login_user_id'),'class_id' => $class_id,'year' => $running_year))->row()->section_id; ?>
db->get_where('class', array('class_id' => $class_id))->row()->name;?>
db->get_where('book', array('class_id' => $class_id))->result_array(); foreach($book as $row):?>
db->get_where('settings', array('type' => 'currency'))->row()->description;?>