Php-sql
Résolu
Bonjour,
j'aimerai connaitre comment faire pour récupéré le résulat d'un requete sql SELECT COUNT
voila mon code
$req = $bdd->prepare('SELECT COUNT (*) FROM authentification WHERE pseudo=? and password=?');
$req->execute(array($_POST['pseuddo'], $_POST['passwordd']));
?
j'aimerai connaitre comment faire pour récupéré le résulat d'un requete sql SELECT COUNT
voila mon code
$req = $bdd->prepare('SELECT COUNT (*) FROM authentification WHERE pseudo=? and password=?');
$req->execute(array($_POST['pseuddo'], $_POST['passwordd']));
?