I\'ve tried searching the php manual and internet on how to delete cookies and I\'ve tried it the exact same way they all say:
setcookie(\"name\", \'\', 1);
Did you check if your script already send its HTTP headers?
if (headers_sent()) { trigger_error("Cant change cookies", E_USER_NOTICE); }