Courses.php: better spacing

Bug430-Eden2
Lan Hui 2023-09-06 19:36:14 +08:00
parent 666ccd7260
commit ae707cffca
1 changed files with 5 additions and 9 deletions

View File

@ -330,19 +330,15 @@ include 'Header.php';
WHERE Course_ID=$course_id");
echo "<span id='dropstudents' style='display:none;'> <select name='studentid'>";
while($row = mysqli_fetch_assoc($resultx1))
{
$studentid=$row['Student_ID'];
$stdname=$row['Full_Name'];
while($row = mysqli_fetch_assoc($resultx1)) {
$studentid = $row['Student_ID'];
$stdname = $row['Full_Name'];
echo "<option value='$studentid'> $stdname($studentid) </option> ";
}
echo "</select><br>Reason <input type='text' name='reason'>"
. "<input type='hidden' name='url' value='$course_url'>"
. " </span>";
return;
}
?>
@ -352,7 +348,7 @@ include 'Header.php';
<div class="col-md-8">
<?php
$user_name=$_SESSION['user_fullname'];
$user_name = $_SESSION['user_fullname'];
echo "<h1 class='display-6'>My courses</h1>";