07-30-db/logout.php
<?php
session_start();
setcookie("userID", "", time() - 3600);
setcookie("userName", "", time() - 3600);
session_unset();
session_destroy(); 
header('Location: login.php');
?>