title: less than or greater than in where clause in codeigniter model
body: <p>I want execute this query like </p>
  
  <pre><code>UPDATE `eventinfo` SET `Status` = '0' WHERE `EventDatetime`&lt; `2015-05-12 01:17:23`.
  </code></pre>
  
  <p>I tried it in different ways like this</p>
  
  <pre><code>$whereClause = 'EventDatetime'.'&lt;'.$check_date;
  $this-&gt;db-&gt;where($whereClause);
  </code></pre>
  
  <p>but I failed.What is the correct way.</p>