10-15-2009, 09:40 AM
|
#2 (permalink)
|
|
That guy
Join Date: Sep 2009
Location: San Antonio, TX
Posts: 24
Thanks: 0
|
If I am understanding you correctly, something like this:
PHP Code:
<?php $loggedin = true; if (!$loggedin) { ?>
<p>Hello World!</p>
<?php } else { header("Location: failed.php"); } ?>
Should work. Although, it may not be the best solution.
|
|
|
|