I have a problem with my PHP & PDO login form. In fact, the script cannot find that the user already exists, whereas when I do the SQL command in phpMyAdmin, I get 1. Here is the piece of code in question:
$requser = $bdd->prepare("SELECT * FROM userInfo WHERE name = ? AND password = ?");
$requser->execute(array($pseudo, $password));
$userexist = $requser->rowCount(); //ERREUR
Here is the entire code link.
And the result link: