0 LIKES LikeUnLike
what i am trying to do with this code is make the echo only appear if the user has a user level of 1, 2 or 3 if they have any other user level then nothing appears. Level 1 is admin level 2 is moderator and level 3 is help desk operator. here is the code;<?php logincheck();$username=$_SESSION['username'];{if($info->userlevel=='1')if($info->userlevel=='2')if($info->userlevel=='3')echo " <tr> <td bgcolor='#000000'><img src='images/arrow.gif'> <a href=\"staffcentre.php\" target=\"main\"><b>Staff Centre</a></td> <tr>";}?>thanks for any help
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.