Im having trouble ending sessions for some reason :|
Heres my code. Can anyone see what the problem is?
<?php
include('includes/config.php');
unset($_SESSION['isLogged']);
session_destroy();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
</HEAD>
<BODY>
<?php
echo '<div class="nav">'.$navigation.'</div>';
?>
You have been logged out.
</body>
</html>