How can I 'else inlude' a file
Posted: Fri May 29, 2009 5:44 pm
Hi Everyone
In the same way I can use 'else' to display one of these two statements:
Could someone please tell me how I can make an
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"