diff --git a/Courses.php b/Courses.php index 9602f60..2d939a8 100644 --- a/Courses.php +++ b/Courses.php @@ -324,7 +324,7 @@ include 'Header.php'; } echo ""; - $resultx1 = mysqli_query($con, "SELECT course_students_table.Student_ID, users_table.Full_Name + $resultx1 = mysqli_query($con, "SELECT DISTINCT course_students_table.Student_ID, users_table.Full_Name FROM course_students_table INNER JOIN users_table on users_table.Student_ID=course_students_table.Student_ID WHERE Course_ID=$course_id");