From 835033543053336f16c81860b52cf35612eca536 Mon Sep 17 00:00:00 2001 From: LinuxMint4Ever <> Date: Thu, 20 Feb 2020 00:52:24 +0100 Subject: [PATCH] bodging some more --- threadr/login/redirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threadr/login/redirect.php b/threadr/login/redirect.php index 69f418a..9367647 100644 --- a/threadr/login/redirect.php +++ b/threadr/login/redirect.php @@ -7,5 +7,5 @@ $password = $_POST['password']; $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;'); $result = $statement->execute(array('username' => $username)); -echo $result; +echo $result['name']; ?>