ATT3
Intermediate OT User
- Joined
- Sep 22, 2010
- Messages
- 512
- Reaction score
- 100
I can't figure it out myself, so;
I am trying to not to repeat ranks on every character.
So not like this;
Instead something like this;
So the ranks are in "groups" or however you wanna call it.
Currently the code looks like this -> It shows rank for every player what is not my goal, it should only show 1 rank name per rank. e.g 1 time leader, 1 time vice-leader, 1 time member.
Even if there's 50 members in the guild.
Well, I guess I have made my point clear long time ago-
Could somebody assist me a bit with this?
----
Rank name is changeable -
Ranks are in three gategories = 'names' as 1,2 and 3
I am trying to not to repeat ranks on every character.
So not like this;
Instead something like this;
So the ranks are in "groups" or however you wanna call it.
Currently the code looks like this -> It shows rank for every player what is not my goal, it should only show 1 rank name per rank. e.g 1 time leader, 1 time vice-leader, 1 time member.
Even if there's 50 members in the guild.
Well, I guess I have made my point clear long time ago-
Code:
if ($isOtx) {
$rankdata = mysql_select_single("SELECT `name`, FROM `guild_ranks` WHERE `id`='".$player['rank_id']."' LIMIT 1;");
$player['rank_name'] = $rankdata['name'];
}
echo '<td>'. $player['rank_name'] .'</td>';
Could somebody assist me a bit with this?
----
Rank name is changeable -
Ranks are in three gategories = 'names' as 1,2 and 3
Last edited: