"; while($donnees = mysqli_fetch_array($reponse)){$jo.="";} mysqli_close($connection); ?> Chevalier Orlando

Chevalier Orlando

Joueur
Mot de passe
Lire les règles
0){ $reponse = mysqli_query($connection,"SELECT no FROM perso WHERE joueur='$moi'");$donnees = mysqli_fetch_array($reponse);$mno=$donnees['no']; $reponse = mysqli_query($connection,"SELECT COUNT(*) as nben FROM action WHERE no='$mno'");$donnees = mysqli_fetch_array($reponse); if($donnees['nben']==0){mysqli_query($connection,"INSERT INTO action SET no='$mno'") or die("indisponible");} header('Location: accueil.html');} //création else{ $reponse = mysqli_query($connection,"SELECT COUNT(*) as nben FROM creation WHERE joueur='$moi'");$donnees = mysqli_fetch_array($reponse); mysqli_close($connection); if($donnees['nben']>0){header('Location: http://basic.chevalier-orlando.fr/choix_crea.html');} else{header('Location: http://basic.chevalier-orlando.fr/nom.html');} } mysqli_close($connection);} else{mysqli_close($connection);$_SESSION['bas_pseudo']="";header('Location: http://basic.chevalier-orlando.fr');} } ?> alert("'.$_SESSION['bas_msg'].'")'; $_SESSION['bas_msg']="";} ?>