What is the proper way to add an array to a $_SESSION variable that already contains arrays in PHP?
For example I have a session variable:
$_SESSION['test']
Then I do this:
$_SESSION['test'] = array('sample' => '1', 'sample2' => 2);
THEN, I come back to this session data at a later date. How would I add another array to $_SESSION['test'] without destroying what was already in there?