Guest User

Untitled

a guest
May 19th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $stmt = $db->prepare("select * from userInfo where userName=? and password=?");
  2. $stmt->execute(array($_POST['username'], $_POST['password']));
  3. $rows = $stmt->fetchAll(PDO: :FETCH_ASSOC);
Add Comment
Please, Sign In to add comment