try make two global it won't work
get a parse error
<?php
$user = array();
function foo() {
global $user;
$user = &$_SESSION['user'];
}
foo();
$user['name'] = 'fred'; // Does not update $_SESSION['user']
?>
the above is what i'm tryin to do but to no avail.
any hints or ideas