forked from halo-battle/game
First code received by Master Leon
This commit is contained in:
commit
4230eb6922
330 changed files with 15543 additions and 0 deletions
21
page/voir_classement.php
Normal file
21
page/voir_classement.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" media="screen" name="design" href="design/design.css">
|
||||
</head>
|
||||
<body>
|
||||
<?
|
||||
|
||||
mysql_connect("leon.redby.fr", "leon0", "7268032");
|
||||
mysql_select_db("leon0");
|
||||
|
||||
echo "<table align=center><tr><td>Place</td><td>Race</td><td>Pseudo</td><td>Points</td><td>Flotte</td><td>Recherches</td></tr>";
|
||||
$ee = mysql_query(" SELECT race, pseudo, points, flottes, recherches FROM classement ORDER BY points DESC ");
|
||||
$i=1;
|
||||
while ( $data = mysql_fetch_array($ee) ){
|
||||
echo "<tr><td>".$i."</td><td>".$data['race']."</td><td>".$data['pseudo']."</td><td>".$data['points']."</td><td>".$data['flottes']."</td><td>".$data['recherches']."</td></tr>";
|
||||
$i++;
|
||||
}
|
||||
echo "</table>";
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue