diff --git a/Course.php b/Course.php index 8411c1d..7c1b15d 100644 --- a/Course.php +++ b/Course.php @@ -24,7 +24,7 @@ include 'Header.php'; . " , users_table.Full_Name FROM `courses_table` INNER JOIN users_table" . " ON users_table.User_ID=courses_table.Lecturer_User_ID where URL='$course_url' "); - if(mysqli_num_rows($result)==0) { + if(mysqli_num_rows($result) == 0) { echo "No course matching the given course URL: ".$course_url; @@ -37,20 +37,17 @@ include 'Header.php'; $academic = $row['Academic_Year']; $url = $row['URL']; $course_id = $row['Course_ID']; - // also get teaching assistant names(if any) + // also get teaching assistant names (if any) $ta_result = mysqli_query($con, "SELECT Full_Name FROM users_table where User_ID in (select TA from course_ta where Course_ID='$course_id');"); if (mysqli_num_rows($ta_result) == 0) { - echo "
"; + echo "