title: PHP Calculate rank from database
body: <p>I got a little problem, I've got a database, in that database are different names, id, and coins. I want to show people their rank, so your rank has to be 1 if you have the most coins, and 78172 as example when your number 78172 with coins.</p>
  <p>I know I can do something like this:</p>
  <pre><code>SELECT  `naam` ,  `coins` 
  FROM  `gebruikers` 
  ORDER BY  `coins` DESC 
  </code></pre>
  <p>But how can I get the rank you are, in PHP :S ?</p>