i got this <?php if(!isset($_SESSION['username'])) { echo("<meta http-equiv='Refresh' content='2; URL=../login.php'/>"); } else { echo "The if statement evaluated to true"; } ?> PHP: works great , but obviously i do not want the result "The if statement evaluated to true" i need it to display html? is that possible and how would it be done? Elaine
<?php if(!isset($_SESSION['username'])) { echo("<meta http-equiv='Refresh' content='2; URL=../login.php'/>"); exit(); } ?> PHP: And put all your HTML below.