<?php
include("include/connection.php");

$conn = new mysqli($host, $user, $password, $dbname);

$username = "admin";
$password = password_hash("admin123", PASSWORD_DEFAULT);

$stmt = $conn->prepare("INSERT INTO users (username, password, role) VALUES (?, ?, 'admin')");
$stmt->bind_param("ss", $username, $password);
$stmt->execute();

echo "Admin created.";
