Ok I start each page with:
<?
// start the session
session_start();
header("Cache-control: private"); //IE 6 Fix
then I register a variable that was defined on the previous page by the user filling in a textbox named"CoBorrower"
// Get the user's input from the form
$HaveCoBorrower = $_POST['cobor'];
// Create a new Session Value
session_register('cobor');
// Register the input with the value
$_SESSION['cobor'] = $HaveCoBorrower;
echo $HaveCoBorrower;
then when I go to the third page, I loose the CoBorrower variable: Page 3:
<?
// start the session
session_start();
header("Cache-control: private"); //IE 6 Fix
echo $HaveCoBorrower;
?>
but $HaveCoBorrower does not print to the screen on page three, so I assume the variable is lost.
Please help. I've been reading tutorials and I can't find the answer to my problem.
Thanks