$firstarray = array(
'name'=>$name,
'address'=>$address
);
$_SESSION['info'] = $firstarray;
$secondarray = array(
'postcode'=>$postcode,
'email'=>$email
);
$_SESSION['info'] = $secondarray;
Hi guys, how do I add the array into session info without overwrite its value which are already inside? I want the session info contain the value of firstarray and second array all together.
$_SESSION['info']['first']and$_SESSION['info']['second']