Top rank
#1

....
Reply
#2

EDIT: Assuming it is for a PHP website...

Код:
<?php
$query = mysql_query('SELECT * FROM `table` ORDER BY Money DESC LIMIT 10');
$i = 1;
while ($row = mysql_fetch_array($query, MYSQL_ASSOC)) 
{
  echo ''.$i.'|'.$row['Name'].'|'.$row['Money'].'<br />'; 
  $i++;
}
?>
You can create a table with HTML if you want. It's limited to the top ten so you can edit the LIMIT 10 to another number for a larger list.
Reply
#3

Ask Sirius[WS]
Reply
#4

Quote:
Originally Posted by [NaB
Hiitch - No srsly, Im a NaB ! ]
Ask Sirius[WS]
Hahahaha ! Nice one xD
Reply
#5

i dont get it still
Reply
#6

....
Reply
#7

Quote:
Originally Posted by [NaB
Hiitch - No srsly, Im a NaB ! ]
Ask Sirius[WS]
ROFLMAO
Reply
#8

....
Reply
#9

Put the PHP script on your WEBSITE. Or learn how to actually run an SQL query.
Reply
#10

....
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)