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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to