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