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/function on a click of a button?
I'm not sure what you mean. Perhaps a link, or a bookmark
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php