From 7d56b3df60fd926f56066cf0096f7964b56ddb8a Mon Sep 17 00:00:00 2001 From: KXNGZ-W Date: Mon, 19 Dec 2022 12:12:25 +0800 Subject: [PATCH] Bug 519 - Typos and grammar errors in the program Admin.php: "Intial Password": "Intial" is a typo. Courses.php: "Dealine Date/Time": "Dealine" is a typo. "Ttle" is a typo. "Invidual" is a typo. Script.php: "sepcial" is a typo. "Inavlid" is a typo. "Garde" is a typo. Should be "Grade". Student.php: "STUEDNT" is a typo. Should be "Student". --- Header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Header.php b/Header.php index 63ad2ce..a6e4d7e 100644 --- a/Header.php +++ b/Header.php @@ -4,7 +4,7 @@ error_reporting(0); date_default_timezone_set('Asia/Shanghai'); include "get_mysql_credentials.php"; -$con = mysqli_connect("localhost", $mysql_username, $mysql_password, "lrr"); +$con = mysqli_connect("localhost", "root", "", "lrr"); // Check database connection if (mysqli_connect_errno()) {