Quote:
Originally posted by Cogitator
You need to use the same variable name as the cookie value name.
<code>
// Get and Set Cookie Data
$cokcount++;
setcookie("cokcount", $cokcount);
</code>
I am assuming you have "register_globals" on.
|
Hi,
I'm a real newbie programmer

So I have NO idea if I have register_globals on.
I tried it with
<code>
$cokcount++;
setcookie("cokcount", $cokcount);
</code>
But it still won't work...DOes that mean register globalls if off?
Th eother suggestion was Turn globalls off and use the cookie array, but I have no idea how to do that
A lot to learn here for me
Andre