<?php
include '../include/config.php';

$password = 'nurse123';
$hash = password_hash($password, PASSWORD_DEFAULT);
echo "Password: $password<br>";
echo "Hash: $hash<br>";

// Update nurse
$conn->query("UPDATE nurses SET login_password = '$hash' WHERE nurse_number = 'NURSE001'");
echo "Nurse password updated. Try logging in with: NURSE001 / nurse123";
?>