Kill/Death and Win/Lose Ratio on Ranking

Joined
Jan 28, 2008
Messages
695
Reaction score
53
In MPOG Website, the Kill/Death and Win/Lose Ratio don't works
How can I put this on my rankings?

Code:
1     Player1     85     349.929.020     16803/14003 (54%)
2     Player2     84     345.597.159     14760/9638 (60%)
3     Player3     84     342.467.970     11773/3602 (76%)
4     Player4     84     340.428.826     26141/6901 (79%)
5     Player5     84     336.744.089     15704/6865 (69%)
6     Player6     84     335.775.948     11791/6558 (64%)
7     Player7     84     332.688.351     16132/10199 (61%)
8     Player8     84     332.014.330     10557/1070 (90%)
 
Try something like this
cant add the other stuff because i dont know the field names..

Code:
$query = odbc_exec(<query to grab the stuff from the table>); 
$array = odbc_fetch_array($query);
$i = 1;

foreach ($array as $output) {
	echo $i;
	// put the output here based on the example
	echo '</br>';
	$i++;
}
 
Upvote 0
or you can just look at other ranking web pages, see how they call the levels and what not, and try and call the k/d in the same manor. I'm not a web coder, but usually when i look at php stuff, I'm able to figure some things out by using common logic, so what I've said might be wrong.
 
Upvote 0
In MPOG Website, the Kill/Death and Win/Lose Ratio don't works
How can I put this on my rankings?

Code:
1     Player1     85     349.929.020     16803/14003 (54%)
2     Player2     84     345.597.159     14760/9638 (60%)
3     Player3     84     342.467.970     11773/3602 (76%)
4     Player4     84     340.428.826     26141/6901 (79%)
5     Player5     84     336.744.089     15704/6865 (69%)
6     Player6     84     335.775.948     11791/6558 (64%)
7     Player7     84     332.688.351     16132/10199 (61%)
8     Player8     84     332.014.330     10557/1070 (90%)

Code:
$count++ $char['Name'] $char['Level'] $char['KillCount']."/".$char['DeathCount'] (% from KillCount and DeathCount)

If you can't do those, you should learn PHP. It's fairly easy.
 
Upvote 0
Back