In the same way I can use 'else' to display one of these two statements:
Code: Select all
if (isset($_SESSION['user']))
{
echo "This text";
}
else include("loginarea.php");
{
echo "This text instead"
}Code: Select all
else include "thisfile.php"