Is there a way to echo a variable that is already echoing something, I try doing it this way but its not echoing it out
if (logged_in() === true) {
echo
'
<li ><a href="#">',$user_data['username'],'</a>
<ul>
<li><a href="../social.php">socail</a></li>
<li><a href="../my/pictures.php">my pictures</a></li>
<li><a href="../profile.php">profile</a></li>
<li><a href="../logout.php">logout</a></li>
</ul> ';
} else {
include'cpages/cmain/menuforms/formsmenu.php';
}
1 Answer