I am struggling to get a return a session variable, I wrote a very simple script to test it out and I still cannot get the session variable to return.
Any ideas?
Here is the code I am using:
<?php
session_start();
session_register("userid");
$userid = 1;
$_SESSION['userid'] = $userid;
echo "SESSSION: $_SESSION['userid']";
echo "<p>USERID: $userid";
?>