Re: [PHP] deleting cookies on the touch of a button

2005-03-26 Thread Marek Kilimajer
AndreaD wrote: I have a range of cookies that need to be deleted on the click of a button. The cookies are set by using. setcookie("cookie[$name]", "$age") Is there a simple command to delete all cookies or I have to do a foreach statement? You have to use foreach How can I execute the code/fun

[PHP] deleting cookies on the touch of a button

2005-03-26 Thread AndreaD
I have a range of cookies that need to be deleted on the click of a button. The cookies are set by using. setcookie("cookie[$name]", "$age") Is there a simple command to delete all cookies or I have to do a foreach statement? How can I execute the code/function on a click of a button? Than