I am trying to use this variable in a code section, but it doesn't return the group name properly.
Here is some test code:
echo $_SESSION['GROUP_ID'];
echo "<BR>";
print_r($_SESSION['GROUP_ID']);
echo "<BR>";
echo $_SESSION['GROUP_NAME'];
echo "<BR>";
print_r($_SESSION['GROUP_NAME']);
echo "<BR>";
echo $_SESSION['USERNAME'];
echo "<BR>";
print_r($_SESSION['USERNAME']);
This returns:
1
1
Array
Array ( [1] => Administrators )
admin
admin
Anybody got any ideas on this one?
Cheers
Peter