Added base files

This commit is contained in:
Bobban
2023-07-14 19:06:48 +02:00
parent 410109ac9c
commit db9e3aa1c1
2 changed files with 32 additions and 0 deletions

10
config/dataconnection.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
$mysqli = new mysqli("host","user","pasword","database");
// Check connection
if ($mysqli -> connect_errno) {
echo "Failed to connect to MySQL: " . $mysqli -> connect_error;
exit();
}
?>