Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $stmt=$dbh->prepare("SELECT * from users where username=? and password=?");
- $stmt->bindValue(1, $user, PDO::PARAM_STR);
- $stmt->bindValue(2, $password, PDO::PARAM_STR);
- $stmt->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement