Jump to content

[SOLVED] is users is admin or editor then problem


jesushax

Recommended Posts

hi all here is my code

 

My UserLevel is Admin yet i cant see those extra li's! anyone know why?

 

            <?php    echo $_SESSION["UserLevel"]; 
                        if ($_SESSION["UserLevel"] == "Admin" || $_SESSION["UserLevel"] == "Editor") { ?>
		<li><a href="/staff/news/default.php">News / Articles</a></li>
		<li><a href="/staff/directory/default.php">Business Directory</a></li>
            <?php } ?>

THanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.