added a new example file and gitignored the prod file
This commit is contained in:
parent
33e9862dce
commit
a665ab63b0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
*/.DS_Store
|
*/.DS_Store
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
db.inc.php
|
||||||
|
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');
|
||||||
|
?>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user