diff --git a/Courses.php b/Courses.php index 5005494..7b2c81f 100644 --- a/Courses.php +++ b/Courses.php @@ -560,12 +560,13 @@ if( $_SESSION['user_type']=="Student") if($faculty=="") { - echo "

Search Results for Code : $search


"; + echo "

Search Results for Course Code $search


"; $result = mysqli_query($con,"SELECT `Course_ID`, `Course_Name`, `Academic_Year`, `Faculty`," . " `Lecturer_User_ID`, `TA_User_ID`, `Course_Code`, `URL`, `Verify_New_Members` " . " , users_table.Full_Name FROM `courses_table` INNER JOIN users_table" - . " ON users_table.User_ID=courses_table.Lecturer_User_ID where Course_Code='$search' and courses_table.Course_ID not in (select course_id from course_students_table where Student_ID=$student_id)"); + . " ON users_table.User_ID=courses_table.Lecturer_User_ID where Course_Code like '%{$search}%' and courses_table.Course_ID not in (select course_id from course_students_table where Student_ID=$student_id)"); } + else { echo "

Find Courses under faculty $faculty

"; diff --git a/README.md b/README.md index ece6575..fac0a53 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,10 @@ The original GitHub Repo is at https://github.com/EngMohamedNor/LabReportRepo (Please put your name and student number below.) +CODEwithZAKI - Omar Mohamud Mohamed - 202025800041 + +BloudYoussef - Khayat Youssef - 202025800042 + TanakaMichelle - Tanaka Michelle Sandati - 201732120134 WhyteAsamoah - Yeboah Martha Asamoah - 201732120135 diff --git a/Submissions.php b/Submissions.php index 411fe75..79bf09f 100644 --- a/Submissions.php +++ b/Submissions.php @@ -470,11 +470,11 @@ include 'Footer.php'; ?> - + - + - +