diff --git a/Courses.php b/Courses.php index a32aef8..5c1686c 100644 --- a/Courses.php +++ b/Courses.php @@ -578,19 +578,19 @@ include 'Header.php'; $academic_year = $row['Academic_Year']; $url = $row['URL']; $id = $row['Course_ID']; - $Status = $row['Status']; + $status = $row['Status']; - if($Status=="Joined") + if($status=="Joined") { echo "
- ($code) - $name
($url)     $Status      + ($code) - $name
($url)     $status     
Faculty: $faculty   Year: $academic_year   Lecturer: $lecturer
"; } else { echo "
- ($code) - $name $Status + ($code) - $name $status
Faculty: $faculty   Year: $academic_year   Lecturer: $lecturer
"; }