title: implement LIKE query in PDO
body: <p>I am running problems in implementing LIKE in PDO</p>
  
  <p>I have this query:</p>
  
  <pre><code>$query = "SELECT * FROM tbl WHERE address LIKE '%?%' OR address LIKE '%?%'";
  $params = array($var1, $var2);
  $stmt = $handle-&gt;prepare($query);
  $stmt-&gt;execute($params);
  </code></pre>
  
  <p>I checked the <code>$var1</code> and <code>$var2</code> they contain both the words I want to search, my PDO is working fine since some of my queries <code>SELECT</code> <code>INSERT</code> they work, it's just that I am not familiar in <code>LIKE</code> here in PDO.</p>
  
  <p>The result is none returned. Do my <code>$query</code> is syntactically correct?</p>