Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- mysql_connect($serverIP,$user,$password) or DIE ("No se pudo establecer conexion con el servidor.");
- mysql_select_db($dbaseName) or DIE ("No se pudo conectar a la base de datos.");
- $query = mysql_query("Select * from ranks order by points Desc");
- echo "<table>";
- echo "<tr><td>SteamId</td><td>Name</td><td>Points</td><td>";
- while ($a=mysql_fetch_array($query))
- {
- echo "<tr><td>".$a['steamId']."</td><td>".$a['lastDisplayName']."</td><td>".$a['points']."</td></tr>";
- }
- echo "</table>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement