I have the code:
<?php
if(session_is_registered('login'))
{
echo "HELLO";
}
else
{
include("login.php");
?>
CONTENT FOR PAGE
<?php } ?>
which works fine. However what I want to happen is for just the LOGIN.PHP page to load and not the CONTENT FOR PAGE.
Can anyone help me?