Courses.php: format SQL statement

Bug430-Eden2
Lan Hui 2023-09-06 19:30:38 +08:00
parent 39cc069301
commit 399ac535a5
1 changed files with 4 additions and 5 deletions

View File

@ -324,11 +324,10 @@ include 'Header.php';
}
echo "</div>";
$resultx1 = mysqli_query($con,"SELECT 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");
$resultx1 = mysqli_query($con, "SELECT 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");
echo "<span id='dropstudents' style='display:none;'> <select name='stdid'>";
while($row = mysqli_fetch_assoc($resultx1))