title: CodeIgniter Active Record Where Not In String
body: <p>I'm having an issue with CI Active Record's "<strong>Where Not In</strong>". I am trying to exclude a series of ID's. I couldn't understand why everything worked fine and dandy with <strong>one</strong> record, but not with multiple. </p>
  
  <p><strong>My Query</strong></p>
  
  <pre><code>$this-&gt;db-&gt;where_not_in('crm.user_id', $ignore);
  </code></pre>
  
  <p>The problem is when I <strong>profile</strong> the the Query is wrong.</p>
  
  <p><strong>With a string of ID's</strong>    </p>
  
  <pre><code>// $ignore = "12,13";    
  SELECT *
  FROM (`crm`)
  WHERE `crm`.`user_id` NOT IN ('16,13') 
  AND `survey` =  1 
  </code></pre>
  
  <p><strong>With a string of Quotes ID's</strong></p>
  
  <pre><code>// $ignore = "'12','13'";
  SELECT *
  FROM (`crm`)
  WHERE `crm`.`user_id` NOT IN ('\'16\',\'13\'') 
  AND `survey` =  1 
  </code></pre>
  
  <p>Am I forced to do a loop of "<strong>or_where_not_in</strong>" or something like that?</p>