title: PHP mysqli condition greater than or less than symbol error
body: <p>I am getting the following strange issue in mysqli prepared statement</p>
  
  <p>This is my sample query and params</p>
  
  <pre><code>SELECT * from ecf_request WHERE id &gt; ? OR id &lt; ?
  ...
  $stmt-&gt;bind_param("ii", $id, $id1); //5, 10
  </code></pre>
  
  <p>When i use just <code>=</code> conditions it's working fine but for <code>&gt;</code> and <code>&lt;</code> conditions it's not working. 
  I am getting <code>"Number of variables doesn't match number of parameters in prepared statement"</code> error</p>
  
  <p>Is it possible to use greater than and less than symbols in prepared statements ?</p>
  
  <p>I need to implement it for date filter condition. records between two dates.</p>
  
  <p>Thanks in advance</p>