Hi,
Could you please help me on the sessions variables ?
On the Login page, on the "After successful login" event, I have the following code:
global $conn;
$strSQL = "SELECT tb_mdp.id, tb_mdp.club FROM tb_mdp WHERE tb_mdp.password = 'rdap6756'";
$rs = db_query($strSQL,$conn);
while ($data = db_fetch_array($rs))
$_SESSION["IdClub"]=$data["id"];
$_SESSION["NomClub"]=$data["club"];
If I make a var_dump($_SESSION)in one another page, I have:
'IdClub' => string '19' (length=2)
'NomClub' => null
If I switch the 2 variables on the login page:
$_SESSION["NomClub"]=$data["club"];
$_SESSION["IdClub"]=$data["id"];
The dump shows me only the 1st ($_SESSION["NomClub"]), the 2nd variable is set to null....
Is it not possible to have more than 1 session variable ? Or may be I forgot something ?
Nice WE to all,