<?php
session_start (); //Session starten//
include ("templates/header.html");
include ("templates/rank.html");
include ("config_player.php");
$sql = "SELECT
*
FROM
player
ORDER BY level DESC";
$i = "0" ;
$ergebnis = mysql_query($sql);
$ergebnis = mysql_query($sql);
while($row = mysql_fetch_object($ergebnis))
{
$i = $i + 1 ;
echo "
<center><table border=0>
<tr>
<th width=\"80\"><font color=red>$i</font></th>
<th width=\"200\"><font color=pink>$row->name</font></th>
<th width=\"200\"><font color=green>$row->exp</font></th>
<th width=\"200\"><font color=red>$row->level</font></th>
</tr>
</table></center>";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
</td>
</tr>
</table>
</body>
</html>" ;
?>
Das müsste es sein :D
MfG
session_start (); //Session starten//
include ("templates/header.html");
include ("templates/rank.html");
include ("config_player.php");
$sql = "SELECT
*
FROM
player
ORDER BY level DESC";
$i = "0" ;
$ergebnis = mysql_query($sql);
$ergebnis = mysql_query($sql);
while($row = mysql_fetch_object($ergebnis))
{
$i = $i + 1 ;
echo "
<center><table border=0>
<tr>
<th width=\"80\"><font color=red>$i</font></th>
<th width=\"200\"><font color=pink>$row->name</font></th>
<th width=\"200\"><font color=green>$row->exp</font></th>
<th width=\"200\"><font color=red>$row->level</font></th>
</tr>
</table></center>";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
</td>
</tr>
</table>
</body>
</html>" ;
?>
Das müsste es sein :D
MfG