Make Header.php look better

Bug430-Eden2
Lan Hui 2023-07-31 17:10:53 +08:00
parent 24ed22e5b8
commit 443d76b639
1 changed files with 163 additions and 164 deletions

View File

@ -10,7 +10,6 @@ $con = mysqli_connect("localhost", $mysql_username, $mysql_password, "lrr");
if (mysqli_connect_errno()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
?>
<!DOCTYPE html>
@ -204,7 +203,7 @@ if (mysqli_connect_errno()) {
<script>
function updatePass(id) {
var pass = prompt("Enter your new password : ", "Enter a strong password");
const pass = prompt("Enter your new password : ", "Enter a strong password");
if (!confirm('Are you sure you want to reset your password?')) {
return;