No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
hey guys im trying to compare 2 num_rows the append the result on the $data array then access it via ajax. $get_section = "SELECT * FROM section a LEFT JOIN advisory_sections b ON(a.section_id = b.section_id) LEFT JOIN school_faculty c ON (b.faculty_id = c.faculty_id) WHERE a.school_id = '$school_id' ORDER BY section_level … ![]() | |
hey guys im trying to update my database here, the code is running fine session_start(); $school_id = $_SESSION['school_id']; $faculty_id = $_SESSION['user_id_fac']; $subject_id = $_POST['subject_id']; $year_grade_level = $_POST['year_level']; $subject_handeler_id = $_POST['subject_handler_id']; $student_grades_boy = $_POST['student_grades_boy']; $student_grades_girl = $_POST['student_grades_girl']; $values_boy = array(); foreach ($student_grades_boy as $key=>$data) { $student_id_B= $data['studnt_B_id']; $grade_B = $data['studnt_grade_B']; $values_boy[$key] … |
The End.