This is the CSS layer that I have in the top right corner of my site. I want to have it show the login button when the MM_Username session variable doesn't exist and show the logout button when it does exist.
I used the code below, but I always get this error message in Internet Explorer 7: "Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\RealEstate\Templates\realestate1.dwt.php on line 97"
96 <div align="right" class="login"><?php if (isset($_SESSION['MM_Username']) )
97 { <a href="<?php echo $logoutAction ?>">LOGOUT</a>}
98 else {<a href="../user_accounts/login.php">LOGIN</a>}
99 <?php } ?></div>