jesushax Posted July 10, 2009 Share Posted July 10, 2009 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 Link to comment https://forums.phpfreaks.com/topic/165463-solved-is-users-is-admin-or-editor-then-problem/ Share on other sites More sharing options...
ignace Posted July 10, 2009 Share Posted July 10, 2009 Weird, this should work however it may be an encoding kind of thing. Link to comment https://forums.phpfreaks.com/topic/165463-solved-is-users-is-admin-or-editor-then-problem/#findComment-872684 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.