prepare("SELECT * FROM user WHERE username = ?");
$req->execute(array($username));
if (!$user = $req->fetch()) { ?>
No user found !
- Hello = $user["word"] ?> !
closeCursor();
} catch (Exception $e) {
databaseError($e);
}
elseif ($bdd INSTANCEOF Exception)
databaseError($bdd);
}
?>