I am a little new to PHP. What I am trying to do is to display the username that is logged in with a link to their home page. This is what I have.
if (loggedin()) {
echo '<a href="HomePage.php"> $user->get_fullname($uid) </a>' ;
echo '<a href="logout.php"> Log Out </a>';
}
But as you can see it will not display the username, it will display what I have in between the link. I do not know where to go from here.