everything should be db.inc not hardcoded!
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
session_start();
|
||||
//$pdo = new PDO('mysql:host=localhost;dbname=usertable', 'usertable', 'password');
|
||||
|
||||
include 'db.inc.php';
|
||||
$username = $_SESSION['username'];
|
||||
|
||||
|
Reference in New Issue
Block a user