title: PDO Echo 10 values order by descending
body: <p>I'm trying to echo out 10 numbers from my database in descending order sort of like a Highscores table. </p>
  
  <p>This is my code </p>
  
  <pre><code>$conn = new PDO("mysql:host=HOST;dbname=NAME", "NAME", "PASSWORD");
  $hs = $conn-&gt;query("SELECT exp FROM login ORDER BY number DESC LIMIT 10");
  
  
  &lt;? echo $hs?&gt;
  </code></pre>
  
  <p>I'm new to PDO/PHP I didn't get any errors it just doesn't print anything from my table its just blank ;/</p>