diff --git a/Courses.php b/Courses.php
index 8bdd049..a32aef8 100644
--- a/Courses.php
+++ b/Courses.php
@@ -567,32 +567,31 @@ include 'Header.php';
INNER JOIN course_students_table ON course_students_table.Course_ID=courses_table.Course_ID
WHERE course_students_table.Student_ID=$student_id ORDER BY Academic_Year DESC, URL ASC");
- if(mysqli_num_rows($result)==0)
- {
+ if (mysqli_num_rows($result) == 0) {
echo " You are not enrolled in any Course";
} else {
while($row = mysqli_fetch_assoc($result)) {
- $name=$row['Course_Name'];
- $code=$row['Course_Code'];
- $faculty=$row['Faculty'];
- $lecturer=$row['Full_Name'];
- $academic=$row['Academic_Year'];
- $url=$row['URL'];
- $id=$row['Course_ID'];
- $Status=$row['Status'];
+ $name = $row['Course_Name'];
+ $code = $row['Course_Code'];
+ $faculty = $row['Faculty'];
+ $lecturer = $row['Full_Name'];
+ $academic_year = $row['Academic_Year'];
+ $url = $row['URL'];
+ $id = $row['Course_ID'];
+ $Status = $row['Status'];
if($Status=="Joined")
{
echo "
($url) $Status
-
Faculty: $faculty Year: $academic Lecturer: $lecturer
Faculty: $faculty Year: $academic_year Lecturer: $lecturer
";
}
else
{
echo "