For example:
Code: Select all
$blah = array(
'items' => array(
1 => array(
'stuff' => false
)
)
);
//and
$cookie = array(
'items' => array(
1 => array(
'stuff' => true
)
)
);Also, is there a way of storing an array in a cookie? I know about serialize(), but I'm not sure if the array will fit in a cookie.