I need to add html to this page without echoing it. I only want to display it if there is a session id.
<?php
session_start();
//home.php
if($_SESSION['id'])
{
echo "Welcome ,".$_SESSION['username'] ;
echo "<br /><br /><a href='/login/logout.php'>Logout</a>" ;
echo "<br /><br /><a href='edit.php'>Edit Profile</a>" ;
echo "<br /><br /><a href='/profiles/".$_SESSION['username']."'>View Profile</a>" ;
}
else
{
echo "You don't belong here!";
}
?>