TVPNBackend/authenticate.php
2024-10-17 13:51:49 -04:00

15 lines
293 B
PHP

<?php
include_once($_SERVER['DOCUMENT_ROOT'] . "/db_config.php");
$stmt = $mysqli->prepare("CREATE TABLE IF NOT EXISTS users(
id INTEGER PRIMARY KEY,
username TEXT NOT NULL,
passwordHash TEXT NOT NULL,
email TEXT NOT NULL
);");
echo $stmt->execute();
$mysqli->close();