if (isset($_POST['submit'])) {
if ($submit == 'Logout') {
setcookie("user_name","") ;
setcookie("id_hash","") ;
}
}
<form .... action="$_SERVER['PHP_SELF']" method="post">
<input type="submit" name="submit" value="logout">
.......
![]()
c'è qualcosa ke nn va di come ho fatto?