session->flashdata('success_msg'))) { ?>
× Success! session->flashdata('success_msg'); ?>
session->flashdata('error_msg'))) { ?>
× Failed! session->flashdata('error_msg'); ?>
"; // print_r($student_list); // die(); foreach ($student_list as $student) { if (empty($student['photo'])) { $profile_path = base_url() . "common_assets/user.png"; } else if (file_exists('assets_student/application/' . $student['photo'])) { $profile_path = base_url() . "assets_student/application/" . $student['photo']; } else { if ($student['gender'] == 'Male' || $student['gender'] == 'male') $profile_path = base_url() . "common_assets/male_image.jpg"; else $profile_path = base_url() . "common_assets/female_image.jpg"; } ?>
S.No. Roll No. Student Id Photo Name Email Contact Course Batch Action
db->get_where('course', array('id' => $student['course']))->row()->course_name; echo (!empty($course_name)) ? $course_name : ''; ?> db->get_where('batch', array('id' => $student['student_batch']))->row_array(); echo $batch['b_name']; ?>