title: SELECT * FROM Table WHERE Column LIKE %?%
body: <p>Based on information here <a href="https://stackoverflow.com/questions/2602252/mysql-query-string-contains">MySQL query String contains</a>
  trying to create pdo query with <code>?</code></p>
  
  <p>Experimented with following</p>
  
  <p><code>SELECT * FROM Table WHERE Column LIKE %?%</code></p>
  
  <p><code>SELECT * FROM Table WHERE Column LIKE ?%</code></p>
  
  <p><code>SELECT * FROM Table WHERE Column LIKE %?</code></p>
  
  <p>Nothing works. Get error </p>
  
  <blockquote>
    <p>Syntax error or access violation: 1064 You have an error in your SQL
    syntax; check the manual that corresponds to your MySQL server version
    for the right syntax to use near '%...</p>
  </blockquote>
  
  <p>Tried with <code>SELECT * FROM Table WHERE Column LIKE ?</code> but this is not for <code>contains</code></p>
  
  <p>Aim is to get query <code>SELECT * FROM Table WHERE Column contains ?</code></p>
  
  <p>What is is correct pdo <code>contains</code> statement for positional placeholders (<code>?</code>)?</p>