From e8bbce386a4f4a72081ec7369a112a90195086fc Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Sat, 5 Oct 2024 07:43:10 +0800 Subject: [PATCH] More informative message when no search result is returned --- Courses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Courses.php b/Courses.php index 5e4d571..9602f60 100644 --- a/Courses.php +++ b/Courses.php @@ -538,7 +538,7 @@ include 'Header.php'; } if (mysqli_num_rows($result) == 0) { - echo "No results.
"; + echo "No such course offered in this academic year. Please check that your have entered the correct course code.
"; } else { while($row = mysqli_fetch_assoc($result)) { $name = $row['Course_Name'];