Ania2019

Untitled

May 11th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. f (isset($_POST['email'])) {
  2. $email = filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL);
  3. $emailQuery = $db->prepare('SELECT * FROM users WHERE email = :emailquery');
  4. $emailQuery->bindValue(':emailquery', $email, PDO::PARAM_STR);
  5. $emailQuery->execute();
  6. $email = $emailQuery->fetchAll();
  7. print_r($email);
Add Comment
Please, Sign In to add comment