Make Header.php look better
parent
24ed22e5b8
commit
443d76b639
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue