Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Conexion a la base de datos
- mysql_connect("127.0.0.1","root","") or die ("No se pudo conectar al servidor de MySQL");
- mysql_select_db("l2jdb") or die ("No se puedo conectar a la base de datos");
- // Query, TOP PK
- $query = "Select * from characters where pkkills>0 order by pkkills desc, limit 10";
- $mk = mysql_query($query);
- while ($a = mysql_fetch_array($mk))
- {
- echo "PJName: ".$a['char_name']." - ".$a['pkkills'];
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement