I am trying to make it so that a user can log out of the website, and it says, "Parse error: syntax error, unexpected T_STRING in /home2/flared/public_html/logout.php on line 2" My code is this:
<?php include "base.php; $_SESSION = array(); session_destroy(); ?>
<meta http-equiv="refresh" content="0;index.php">
I do have a file called index.php. Any help?
<?php include "base.php; $_SESSION = array(); session_destroy(); ?>
<meta http-equiv="refresh" content="0;index.php">
I do have a file called index.php. Any help?