Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = $pdo->prepare("SELECT * FROM users WHERE username=:username");
- $query->bindValue(":username", $username, PDO::PARAM_STR);
- $query->execute();
- $row = $query->fetchAll();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement