I'm interested in listing the current session variables but can't get it to list correctly.
i.e my current session variables contain:
lastname=doe
firstname=john
if I use the following code I can only get the values john and doe to list. I want to be able to get a list similar to this:
lastname := doe
firstname := john
What do I need to do?
foreach($SESSION as $key=>$value)
{
print $tmpcnt." = ".$SESSION["$key"]."<br>";
}
Thanks in advance for any suggestions