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