Hi I was wondering what I need to do to add a message you have logged out I have a working setup however I am not sure where to insert that text or how the sntax would be any help is much appreciated here is my log out code
<?php
session_start();
if (isset($_SESSION['name'])){
session_destroy();
session_start();
}
header("Location:includeindex.php");
exit;
?>