Hey,
First of all this might be the wrong way about doing what I want, but this was the only way I could think of.
What I want to do is set a cookie with a name like "cookie5", or "cookie20" (it will always be "cookie" followed by a number).
Then, upon passing a number to the URL, as in myscript.php?num=30 I want to display the value I stored in "cookie30".
So, from what I've read when the page is loaded the cookies will be loaded into their respective names, i.e. $cookie5, $cookie20, $cookie30 etc.. thing is, how do I check if these exist, or use them? If I could somehow merge text together for a variable name I'd be sorted, like $cookie$num, but that won't work... so how else can I check?
Its driving me nuts so any help aprpeciated (if it can be done!).
Thanks,
Andy.