<?php 
    // deletes a cookie called count. cookie expires after 0 seconds.
    $count = 0;
    setcookie("count", $count, time());
?>

<body>
<h1>Cookie 'count' destroyed</h1>

<ul>
<li>Click here to <a href="cookie-example.php">start over again</a></li>
</ul>

</body>
</html>