<?php $sorgu = mysql_query("SELECT * FROM users ORDER BY puan DESC"); while($row=mysql_fetch_array($sorgu)){ $puan = $row['puan']; echo $puan; } ?>