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