Here's the relevant code:
- Code: Select all
$nickname = $_SESSION['given'];
$lastname = $_SESSION['family'];
$params["nick"] = $nickname; //The user's first name, which will be their nickname for the chat
$params["nickmeta"] = array('Surname'=>$lastname;//The person's surname
The nickname side of it works fine, but I can't get the surname to show anything.
Thanks in advance