forked from root/threadr.lostcave.ddnss.de
bodging some more
parent
62eaeee962
commit
8350335430
|
@ -7,5 +7,5 @@ $password = $_POST['password'];
|
||||||
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
|
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
|
||||||
$statement = $pdo->prepare('SELECT id, name, authentication_algorithm, authentication_string FROM users WHERE name = :username;');
|
$statement = $pdo->prepare('SELECT id, name, authentication_algorithm, authentication_string FROM users WHERE name = :username;');
|
||||||
$result = $statement->execute(array('username' => $username));
|
$result = $statement->execute(array('username' => $username));
|
||||||
echo $result;
|
echo $result['name'];
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue