forked from rebillar/site-accueil-insa
test
This commit is contained in:
parent
abdc591773
commit
f2184d74dc
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ if(isset($_POST['send'])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strlen($pseudo) <= 50) {
|
if(strlen($pseudo) <= 50) {
|
||||||
|
echo("len");
|
||||||
$req = $db->prepare("SELECT id FROM admin WHERE pseudo = ?");
|
$req = $db->prepare("SELECT id FROM admin WHERE pseudo = ?");
|
||||||
$req->execute(array($pseudo));
|
$req->execute(array($pseudo));
|
||||||
$pseudo_exist = $req->rowCount();
|
$pseudo_exist = $req->rowCount();
|
||||||
|
|
Loading…
Reference in a new issue