Posted by "George Pitcher" on 09/14/05 16:54
Hi,
> if (isset($add)) {
> $pakora++;
> setcookie("cookie[pakora]", "$pakora Pakora");
> }
If I'm not mistaken, you also need to be sure that you are writing your
script to html/display and not redirecting to another page after the cookie
has been set - as redirecting will not write the cookie.
Just my 2p.
George
[Back to original message]
|