Posted: Sat Mar 20, 2004 12:08 pm
yea, i have it to accept all cookies, and i did a little search and came up with isset(), so i replaced the old one wit this:
and that still didnt work...
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!
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!