I have a multidimensional associative array like so:
0 => array
'product' => 'dvd',
'contract' => '2133782'
1 => array
'product' => 'music',
'contract' => '2131572'
I am currently using http_build_query() to convert to string like so:
$_SESSION['items'] = http_build_query($cartArray);
That seems to be all fine and dandy, but I have no idea how to properly convert it back to an array upon page refresh or moving anto another array.
What can I do to convert my session variable back to such an array?
Thanks for the help