I have a button that sets a variable when pressed. I then try delete any 
cookies using the following code but no joy.

if (isset($scrub)){
echo "this works";
if (isset($_COOKIE['cookie'])) {
 foreach ($_COOKIE['cookie'] as $name => $quantity) {

setcookie($name, "");
}
}
}



Please help. Any suggestions welcome.


AD 

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

Reply via email to