I need help with getting cookies after I create them.
I used an array for my cookies, example.
I want to store 2 values in the same cookie name.
cookie_admin[username]
cookie_admin[password]
how can I call them?
I used $HTTP_COOKIE_VARS["cookie_admin[username]"]
but that don't work.
I then tried
$username = $cookie_admin[username];
echo $username;
that didn't work either.
What are my other options? Please post an answer only, I receive a lot of responses that don't pertain to my question or don't help.
Thanks