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 Student Id Photo Name Batch Symbol No. Registration No.
db->get_where('batch', array('id' => $student['batch_id']))->row_array(); $b_from = (isset($batch['b_from'])) ? $batch['b_from'] : ''; $b_end = (isset($batch['b_end'])) ? $batch['b_end'] : ''; echo isset($batch['b_end']) ? $batch['b_name'] : '-'; ?>