Advertisement
Sparkster

Untitled

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