db->get_where('settings' , array('type' => 'running_year'))->row()->description; ?>
'form m-b')); ?>
db->get_where('enroll', array('class_id' => $class_id, 'year' => $running_year, 'section_id' => $section_id))->result_array(); foreach ($students as $row): ?> db->group_by('timestamp'); $attendance = $this->db->get_where('attendance', array('section_id' => $section_id, 'class_id' => $class_id, 'year' => $running_year, 'timestamp' => $timestamps, 'student_id' => $row['student_id']))->result_array(); foreach ($attendance as $row1): $month_dummy = date('d', $row1['timestamp']); if ($i == $month_dummy) $status = $row1['status']; endforeach;?>
db->get_where('student', array('student_id' => $row['student_id']))->row()->name; ?>