well it would seem that you aren't assigning anything to
$_SESSION['xhtmlStart'] - so does it work if you have this on page one?

<?php
 session_start();
 $_SESSION['xhtmlStart'] = "hello";
 $cellnum = 1;
 define("WHITE", "#ffffff");
 define("LGREY", "#fafafa");
 define("MAXSHOWN", 3);

 echo("<a href='svar.php'>test</a>");
?>

-----Original Message-----
From: Bobo Wieland [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2003 13:50
To: Rich Gray
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] $_SESSION


okej.. here it comes as short as I could get it... try the 'test' link to go
to page2...

page one:
<?php
    session_start();
 $xhtmlStart = $_SESSION["xhtmlStart"];
 $cellnum = 1;
 define("WHITE", "#ffffff");
 define("LGREY", "#fafafa");
 define("MAXSHOWN", 3);

    $xhtmlStart = "hello";
echo($xhtmlStart);
echo("<a href='svar.php'>test</a>");
?>


page 2:
<?php
    session_start();
    echo($_SESSION["xhtmlStart"]);
?>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to