Ranks

Status
Not open for further replies.

Dobby

Member
Nov 8, 2010
156
5
How do i set a certain menu to show only if a user that logs in as a rank of 2?

Could someone help me with the code because im really stuck
 

Li1M0ST3Rz

I <3 Bianca
Sep 13, 2010
269
166
i use
PHP:
<?php
// coded by Li1M0ST3Rz
include 'config.php';
$connection = mysql_query("SELECT * FROM users");
while($row = mysql_fetch_array($connection))
if($row['rank'] == 2): {
// code here
}
endif;
?>
 
Status
Not open for further replies.

Users who are viewing this thread

Top