Hello all
Just wondering...
Can you register a array as an session variable?
I have an array I call $user_info. I want this one to be accessable threw all pages so I want to register it as an session variable...
I have tried this...
session_start();
session_register('user');
function set_userinfo(){
$user_info = mysql_fetch_array($result);
}
and on another page I try this....
session_start();
print $user_info['username'];
But I can“t get this to work.... =(
Please help!