I am a bit of a begginer in PHP.
How do I store multiple vales in a cookie?
I am going along the lines of:
$data = array('apple'=>'green', 'orange'=>'orange', 'banana'=>'yellow');
then something like (not sure about the sytax here)::
$var=implode($data); setcookie('data', $var, time() +3600);
Basically how do I get the information into and out of the cookie.
Thanks in advance for any help.