$result = dbquery("SELECT user_id, user_name, user_level FROM ".DB_USERS." WHERE user_level>='102' ORDER BY user_level DESC, user_name");
while ($data = dbarray($result)) {
$reset_opts .= "<option value='".$data['user_id']."'>".$data['user_name']." ".($data['user_level'] == 103 ? "(A)" : "(SA)")."</option>\n";
}
while ($data = dbarray($result)) {
if ($data['user_level'] == 104) {
$this_user_level = "(SA)";
} elseif ($data['user_level'] == 103 {
$this_user_level = "(A)";
} else {
$this_user_level = "(M)";
}
$reset_opts .= "<option value='".$data['user_id']."'>".$data['user_name']." ".$this_user_level."</option>\n";
}
Category Forum
Suspected Bugs and Errors - 8Labels
None yet
Statistics
2 participants
Notifications
You are not receiving notifications from this thread.
Related Questions