My page accepts users through invitation codes to take surveys using UCCASS, and inspecting the session data goes as follows:
print_r($_SESSION);
[invite_code_type] => alphanumeric [invite_code_length] => 10 [priv] => Array ( [37] => Array ( [2] => 1 [3] => 1 [name] => William [email] => will@william.com [uid] => 58 ) ) )
How would I simply extract the current session's values for a welcome screen like this:
"Hello William"
I tried the following without any luck:
echo "Welcome " . $_SESSION['name'] . "<*br>";