Probably a simple question but I can't find the answer anyway.
Specifically, is it possible to copy a multidimensiona l array into the
$_SESSION array - ie a deep clone of all keys and data?
I naively assumed that
$_SESSION["myArray"'] = $myArray ;
would work but it doesn't appear to work. Is there a single function
or assignment I can use, or would I need to use a "foreach" at every
level?
---
Rob Tweed
M/Gateway Developments Ltd
Global DOMination with eXtc : http://www.mgateway.tzo.com
---
Specifically, is it possible to copy a multidimensiona l array into the
$_SESSION array - ie a deep clone of all keys and data?
I naively assumed that
$_SESSION["myArray"'] = $myArray ;
would work but it doesn't appear to work. Is there a single function
or assignment I can use, or would I need to use a "foreach" at every
level?
---
Rob Tweed
M/Gateway Developments Ltd
Global DOMination with eXtc : http://www.mgateway.tzo.com
---
Comment