ELİAZ TOP 10 code
Code:
//Sistema de TOP 10 Ranking
mysql_select_db($database_DO, $DO);
function mostrarRanking()
{
$result = mysql_query("SELECT * FROM cuentas ORDER BY honor DESC LIMIT 0, 10");
$nombre = "undefined";
$honor = 0;
$pos = 0;
while($rs = mysql_fetch_array($result))
{
if($rs[32] == 21)continue;
$pos += 1;
if($rs[1] != null)$nombre = $rs[1];
if($rs[33] != null)$honor = $rs[33];
echo "<tr>";
echo "<td>$pos.</td>";
echo "<td class='table_ranking_center fliess10px-gelb'><b>$nombre</b></td>";
echo "<td class='table_ranking_right'>$honor </td>";
echo "</tr>";
}
}
my server TOP 10 code Azure
Code:
</tr>
<tr>
<td><br /></td>
<td style="vertical-align: top;">
<div id="div_ranking">
<table id="table_ranking" class="fliess10px-white">
<tr><td>1.</td><td class="table_ranking_center fliess10px-gelb" showUser="1xxjm"><b><span class="userInfoName" title="<?php echo $Users->DataRow['Name']; ?> - click for details"><?php echo $Users->DataRow['Name']; ?></span></b></span></td><td class="table_ranking_right"><?php echo $Users->DataRow['honor']; ?></td></tr>
</table>
</div>
</td>
<td>
honor working
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
but it does not appear the names of the other players on my server
I think the error is here
Code:
<?php echo $Users->DataRow['Name']; ?>
help please