OK so I am making it to where when the user logs out and they try to go back to the member page it says you must be logged in to veiw this page well the echo is displaying that they must be logged in and its keeping them out but there is an error. Here is the page. it says there is a problem on line 5.
MEMBER PHP PAGE
<?php
session_start();
if ($_SESSION['username'])
echo "Welcome, ".$_SESSION['username']."!<br /><a href='logout.php'>Logout</a>";
else
die("You must be logged in!");
?>