Worky
This commit is contained in:
15
authenticate.php
Normal file
15
authenticate.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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();
|
||||
Reference in New Issue
Block a user