diff --git a/Submissions.php b/Submissions.php index 1eb9ee9..902a2ed 100644 --- a/Submissions.php +++ b/Submissions.php @@ -390,7 +390,7 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Remarking'"); $rs2 = mysqli_query($con, "SELECT ID, Course_Group_id, course_group_members_table.Student_ID, course_group_members_table.Status, users_table.Full_Name FROM course_group_members_table INNER JOIN users_table ON users_table.Student_ID=course_group_members_table.Student_ID - WHERE course_group_members_table.Course_Group_id=$id"); + WHERE course_group_members_table.Student_ID AND course_group_members_table.Course_Group_id=$id"); while ($row = mysqli_fetch_assoc($rs2)) { $name = $row['Full_Name'];