<?php
if(!isset($_SESSION['user_name'])){
echo '<a href="login.php" role="button" aria-expanded="false"> LogIn <span class="label">LogIn to System</span></a>';
elseif(isset($_SESSION['user_name'])){
echo '<a href="login.php" role="button" aria-expanded="false">' . $_SESSION['user_name'] . '<span class="label">it is you</span></a>';
}
?>
It's a bit of simple question. Can someone help me with debugging this part of code? Then I introduce it in my php file, the page is blank. No content is displayed. It's just white page, without any content. After removing this, I can see the content without problem.