This might be a stupid question. I've looked in the manual, and also searched, but I must be overlooking something obvious...
I set a cookie like so:
setcookie ("something[0]", $something, time()+300);
setcookie ("something[1]", $other, time()+300);
how can I grab the value of that first cookie.
For example, if I wanted to check the value that is set in "something[0]" against something else, how would I do that.
or if I just wanted to echo the value.
$cookie = $HTTP_COOKIE_VARS["something[0]"];
echo $cookie.
I know this isn't right, how would I set that up?