Code: Select all
<?
if (isset($_SESSION['first_name'])){
echo "   ( <a href=login.php>Log In</a> )( <a href=index.asp?p=form&f=reg>Register</a> )";
}else{
echo "   ( <a href=cp.php>Control Panel</a> )( <a href=logout.php>Logout</a> )( <font color=gray>$_SESSION['first_name']</font> )";
}
?>EDIT: OMG!, i cant belive i missed it....i forgot to put "blah " . $_SESSION['first_name'] . "blah";
i for got the "." around $_SESSION, err, o well, thank you everyone for your help, i am now another step closer to finishing my site.
THANKS AGAIN!