introducing my db connection
This commit is contained in:
parent
359bcb6750
commit
eacbf81a9a
10
db.inc.php
Normal file
10
db.inc.php
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user