introducing my db connection

This commit is contained in:
Thies Mueller 2021-01-10 12:07:36 +01:00
parent 359bcb6750
commit eacbf81a9a

10
db.inc.php Normal file
View File

@ -0,0 +1,10 @@
<?php
$mysqlhost = 'localhost';
$dbname = 'usertable';
$dbuser = 'usertable';
$dbpass = 'password';
$pdo = new PDO('mysql:host='.$mysqlhost.';dbname='.$dbname.'', $dbuser , $dbpass);
?>
<h1>NOPE</h1>