db->get_where('student' , array('parent_id' => $this->session->userdata('parent_id')))->result_array();
foreach ($children_of_parent as $row2):
?>
|
|
|
|
|
|
db->get_where('enroll', array('student_id' => $row2['student_id'], 'year' => $running_year))->row()->class_id;
$syllabus = $this->db->get_where('academic_syllabus', array('class_id' => $class_id, 'year' => $running_year))->result_array();
foreach ($syllabus as $row):
?>
|
|
db->get_where('subject', array('subject_id' => $row['subject_id']))->row()->name; ?> |
db->get_where($row['uploader_type'], array($row['uploader_type'] . '_id' => $row['uploader_id']))->row()->name; ?> |
|
|