Compare commits

...

3 Commits

1 changed files with 1 additions and 0 deletions

View File

@ -558,6 +558,7 @@ if( $_SESSION['user_type']=="Student")
if(!empty($_GET["search"]) || !empty($_GET["faculty"])) if(!empty($_GET["search"]) || !empty($_GET["faculty"]))
{ {
$search = trim(mysqli_real_escape_string($con, $_GET["search"])); $search = trim(mysqli_real_escape_string($con, $_GET["search"]));
$search = strtoupper($_GET['search']);
$faculty = mysqli_real_escape_string($con, $_GET["faculty"]); $faculty = mysqli_real_escape_string($con, $_GET["faculty"]);
// the user has not entered something under "Find course by Code" // the user has not entered something under "Find course by Code"