Why can't i do this?
function foo() { globa $mjUser;
$mjUser = &$_SESSION['mjUser'] = array();
};
i have tried it with $mjUser = $_SESSION['mjUser'] = array(); but the session variable is not updated or visable out of the function
Interesting.... what the heck are you trying to do?
I just want $mjUser to be an alias to $_SESSION['mjUser'] wich is an array.
I think it has something to do whith globals as referneces
by the way $mjUser is global