added a new example file and gitignored the prod file
This commit is contained in:
9
db.inc.example.php
Normal file
9
db.inc.example.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$mysqlhost = 'localhost';
|
||||
$dbname = 'usertable';
|
||||
$dbuser = 'usertable';
|
||||
$dbpass = 'password';
|
||||
$pdo = new PDO('mysql:host='.$mysqlhost.';dbname='.$dbname.'', $dbuser , $dbpass);
|
||||
//$pdo = new PDO('mysql:host=localhost;dbname=usertable', 'usertable', 'password');
|
||||
?>
|
||||
|
Reference in New Issue
Block a user