This commit is contained in:
thaaoblues 2023-07-02 20:29:39 +02:00
parent abdc591773
commit f2184d74dc

View file

@ -108,6 +108,7 @@ if(isset($_POST['send'])) {
}
if(strlen($pseudo) <= 50) {
echo("len");
$req = $db->prepare("SELECT id FROM admin WHERE pseudo = ?");
$req->execute(array($pseudo));
$pseudo_exist = $req->rowCount();