<?session_start();

$_SESSION["username"]="";//removes contents of variable

session_destroy();//remove session completely

?>

<html>
<head>

</head>
<body>
You have logged out<br><br>
<a href="home.php">Back to home</a>
</body>
</html>