Okay, i'm a moron, so bear with me....I need to be able to pull info from an array, and declare that as a session varible. I have no idea how to interact with arrays
So, here's my array result:
Array
(
[count] => 1
[0] => Array
(
[department] => Array
(
[count] => 1
[0] => MIS
)
[0] => department
[displayname] => Array
(
[count] => 1
[0] => User's Name
)
[1] => displayname
[mail] => Array
(
[count] => 1
[0] => [email]email@email.com[/email]
)
[2] => mail
[telephonenumber] => Array
(
[count] => 1
[0] => 999 999-9999
)
[3] => telephonenumber
[count] => 4
[dn] => CN=long ldap string
[memberof] => Array
(
[0] =>
[count] => 1
)
)
)
If i wanted to create a $_session[email], how would i pull the email out of the above array???