introducing my db connection
This commit is contained in:
		
							
								
								
									
										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>
 | 
			
		||||
		Reference in New Issue
	
	Block a user