prepare('SELECT id, name, authentication_algorithm, authentication_string FROM users WHERE name = :username;'); $result = $statement->execute(array('username' => $username)); echo $result['name']; ?>