Hi, I'm trying to display certain links if user is logged in, else display other links. Everything works great except for log out link. I have a php script inside a php script and its not working. I was wondering if anyone has a solution. Here is the else part of the script where the log out link will be displayed. Thanks.
else {echo
'<ol id="links">
<li><a href="home.php">Home</a></li>
<li><a href="account.php">Account</a></li>
<li>Forum</li>
<li><a href="<?php echo $logoutAction ?>">Log out</a></li>
</ol>';}
?>