title: Error while using PDO prepared statements and LIMIT in query
body: <p>I'm using PDO in my application. But I have a problem while I'm working with prepared statements in a query that contains <code>LIMIT</code>. What's the problem?<br>
  <strong>Codes:</strong>  </p>
  
  <pre><code>$start = 0;
  $rows = 20;
  $sql = "SELECT * FROM tbl_news ORDER BY date DESC LIMIT ?, ?";
  $q = $db-&gt;prepare($sql);
  $q-&gt;execute(array($start , $rows));
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <blockquote>
    <p>check the manual that corresponds to your MySQL server version for the right syntax to use near ''0', '20''</p>
  </blockquote>