I am new to php and just started doing a bit of stuff with cookies and now got slightly stuck.
I am fully aware on how to create a cookie, make a cookie invalid.
im also aware ofto print the value of the cookie on the page... but what if i wanted $thecookie value to be the value of the cookie then wanted to print $thecookievaluePHP Code:print_r($_COOKIE);
Im not going to echo $thecookievalue i just need to value of the cookie in a string so i can set an if statement to check what the value of the cookie is so i can set the correct page of the user.
Thanks



Reply With Quote
just need an example to show me how its done lol


Bookmarks