<?php session_start(); unset($_SESSION['sadmin']['id']); unset($_SESSION['sadmin']); header("Location: login.php"); ?>