title: Codeigniter AND OR AND
body: <p>It is posible to do: (condition 1 AND condition2) OR (condition3 AND condition4) in codigniter?</p>
  
  <p>I try:</p>
  
  <pre><code>$this-&gt;db-&gt;where(condition1 - condition2);
  $this-&gt;db-&gt;or_where(condition3 - condition4);
  </code></pre>
  
  <p>But this is: (condition1 AND condition2) OR (condition3 OR condition4)</p>