title: how can i pass array in where clause with codeigniter?
body: <p>How can I pass an array variable in where clause with codeigniter?
  For example with a SQL query like:</p>
  
  <pre><code>Select(" item,price Where(userid=123 and proid=3 or userid=124 and proid=3... [upto n user id]userid=nth_id and proid=3");
  </code></pre>
  
  <p>If userid is stored in an array variable then how can I create such a condition in codeigniter?</p>