title: How to fetch row in PDO?
body: <p>Here is my code:</p>
  
  <pre><code>$qs_num = $this-&gt;dbh-&gt;query("SELECT COUNT(amount), COUNT(*) FROM qanda WHERE type = 0");
  print_r($qs_num); die;
  </code></pre>
  
  <p>And here is the result:</p>
  
  <pre><code>//=&gt; PDOStatement Object ( [queryString] =&gt; SELECT COUNT(amount), COUNT(*) FROM qanda WHERE type = 0 )
  </code></pre>
  
  <p>How can I get the result of query above? That query should return 1 row contains tow columns.</p>