<?php
include 'db_config.php';
$pass = password_hash('password123', PASSWORD_DEFAULT);
$stmt = $conn->prepare("UPDATE admin_login SET password = ? WHERE role = 'admin'");
$stmt->bind_param("s", $pass);
if($stmt->execute()) {
    echo "Admin password reset to: password123";
} else {
    echo "Error: " . $conn->error;
}
?>
