Missing variables' data
Hi,
Something really weird is happening on 1 of my php.
The file is pretty massif but it's basically 1 big "Form"
<?php
session_start();
?>
.
.
<form name=myForm method="POST" action="recoverdata.php"><p>
.
.
<input type="submit" value="Search" name="B1"></p>
</form>
When I "try" to get the data in recoverdata.php there's nothing..
But if I click refresh, they are there ??
recoverdata:
<?php
session_start();
$_SESSION['Data1']=$_POST['MB'];
$_SESSION['Data2']=$_POST['SB'];
echo $Data1;
echo "<p>";
echo $Data2;
echo "<p>";
?>
Help ??
|