<?php
include('server.php');

//$sql = "update users set sessionstatus='Inactive' where username='" . $_SESSION['username'] . "'";
//mysqli_query($db, $sql);

		//session_start();
		//session_destroy();
		//$_SESSION['username'] = "";
		//unset($_SESSION['username']);
		//header("location: login.php");

?>
    <link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>

<?php

	unset($_SESSION['username']);
       	header("location: login.php");


?>

