Export Excel '; // print_r($student_results); ?> 0) { foreach ($course_subjects as $cs_value) { ?> 0) { foreach ($course_subjects as $cs_value) { ?> 0) { foreach ($student_results as $studkey => $student) { ?> ; // print_r($theFinalresult);; foreach ($course_subjects as $csk => $csv) { // echo'
';
                                                        // print_r($student['subject_results'][$csv['subject_id']['total_full_marks']]);
                                                        if (isset($student['subject_results']) && count($student['subject_results']) > 0) {


                                                            if (isset($student['subject_results'][$csv['subject_id']]['sub_id']) && ($student['subject_results'][$csv['subject_id']]['sub_id'] == $csv['subject_id'])) {
                                                    ?>
                                                                
(isset($student['subject_results'][$csv['subject_id']]['exam_total_obt_marks']) && !empty($student['subject_results'][$csv['subject_id']]['exam_total_obt_marks'])) ? $student['subject_results'][$csv['subject_id']]['exam_total_obt_marks'] : '', 'exam_gpa' => (isset($student['subject_results'][$csv['subject_id']]['gpa']) && !empty($student['subject_results'][$csv['subject_id']]['gpa'])) ? $student['subject_results'][$csv['subject_id']]['gpa'] : '', 'remarks_gpa' => (isset($student['subject_results'][$csv['subject_id']]['remarks_gpa']) && !empty($student['subject_results'][$csv['subject_id']]['remarks_gpa'])) ? $student['subject_results'][$csv['subject_id']]['remarks_gpa'] : '', 'exams_total_percentage' => (isset($student['subject_results'][$csv['subject_id']]['exams_total_percentage']) && !empty($student['subject_results'][$csv['subject_id']]['exams_total_percentage'])) ? $student['subject_results'][$csv['subject_id']]['exams_total_percentage'] : '', 'exam_total_obt_grade' => (isset($student['subject_results'][$csv['subject_id']]['grade']) && !empty($student['subject_results'][$csv['subject_id']]['grade'])) ? $student['subject_results'][$csv['subject_id']]['grade'] : '', ); } else { echo " "; } } else { ?> 0) { ?>
SNo student Name Roll No Total Marks Percentage (%)
Th. Mark Pr. Marks Total Mark
NA NA NA- - -