Posted by Mike Youell on 09/28/73 11:44
You have <?php ?> tags all over the place. If the $_SESSION array is
to be accessed it is required that a session_start() is added inside
the same <?php tags as the array is accessed in. However your code
does not seem to do this.
For example, if you do
<?php
session_start();
$_SESSION['fred'] = 'bob';
?>
<?php
echo $_SESSION['fred'];
?>
The echo section will not be able to access the session array as the
session_start is not inside the second set of <?php tags.
You might already know this but the code you've pasted appears unclear
to me...
Navigation:
[Reply to this message]
|