Add registration feature

This commit is contained in:
Andrew Trieu
2023-02-04 15:32:11 +02:00
parent db56a1529d
commit c717c9e4c1
9 changed files with 228 additions and 8 deletions

11
php/config.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
$hostname = "localhost:3200";
$username = "root";
$password = "";
$dbname = "chatline";
$conn = mysqli_connect($hostname, $username, $password, $dbname);
if(!$conn){
echo "Database connection error".mysqli_connect_error();
}
?>