title: Reference — frequently asked questions about PDO
body: <h3>What is this?</h3>
  
  <p>This is a list of frequently asked questions regarding PHP Data Objects </p>
  
  <h3>Why is this?</h3>
  
  <p>As PDO has some features unknown to a regular PHP user, questions regarding prepared statements and error handling in PDO are quite frequent. So, this is just a place where all them can be found.</p>
  
  <h3>What should I do here?</h3>
  
  <p>If your question has been closevoted with this list, please find your question below and apply the fix to your code. It is also a good idea to take a brief look to other questions, to make yourself prepared for other common pitfalls.</p>
  
  <h3>The List</h3>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/15990857/reference-frequently-asked-questions-about-pdo#15990858">PDO query fails but I can't see any errors. How to get an error message from PDO?</a> </li>
  <li><a href="https://stackoverflow.com/questions/15990857/reference-frequently-asked-questions-about-pdo#15990965">How can I use prepared statements with LIKE operator?</a></li>
  <li><a href="https://stackoverflow.com/questions/15990857/reference-frequently-asked-questions-about-pdo#15991146">How can I create a prepared statement for IN () operator?</a></li>
  <li><a href="https://stackoverflow.com/questions/23482104/can-i-use-a-pdo-prepared-statement-to-bind-an-identifier-a-table-or-field-name">Can I use a PDO prepared statement to bind an identifier (a table or field name) or a syntax keyword?</a></li>
  <li><a href="https://stackoverflow.com/questions/15990857/reference-frequently-asked-questions-about-pdo#15991623">PDO prepared statement causes an error in LIMIT statement</a></li>
  </ul>
  
  <p>See also</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/q/3737139/285587">Reference - What does this symbol mean in PHP?</a></li>
  <li><a href="https://stackoverflow.com/q/12769982/285587">Reference - What does this error mean in PHP?</a></li>
  <li><a href="https://stackoverflow.com/q/16959576/285587">Reference - What is variable scope, which variables are accessible from where and what are “undefined variable” errors?</a></li>
  </ul>