$initiativePerso){ $_SESSION['initiative'] = 1; }else{ $_SESSION['initiative'] = 0; } //recup de la page precent le combat $_SESSION['pageprecedentCombat'] = $_GET['pagereference']; //$_SESSION['pageprecedentCombat'] = $_SERVER['HTTP_REFERER']; header("location:ennemi.php"); mysql_close(); ?>