Menu
im just a novice in php and when i try to test whether my session is working using this code i know that there was a problem please help me.
this is page 1
<?php
session_start();
$_SESSION[‘foo’] = “bar”;
?>
<a href=”page2.php”>goto page 2</a>
and this is page 2
<?php
session_start();
echo $_SESSION[‘foo’];
?>
but when i run this its just showing a blank page.