$sql = mysql_query("SELECT * FROM server ORDER BY score DESC"); $total_rows = mysql_num_rows($sql); $kiek = 0; while ($row = mysql_fetch_assoc($sql)) { $kiek++; echo " ".$kiek." ".$row['name'].<br>" ";