Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

quick question about singing out display message

$
0
0
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;
?>

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>