title: CodeIgniter Active Record not equal
body: <p>In CodeIgniter using active record, how do I perform a not equal to in <code>$this-&gt;db-&gt;where()</code>.  For instance:</p>
  
  <pre><code>$this-&gt;db-&gt;where('emailsToCampaigns.campaignId', $campaignId);
  </code></pre>
  
  <p>Will do equal to, but I need not equal to.  I have tried:</p>
  
  <pre><code>$this-&gt;db-&gt;where('emailsToCampaigns.campaignId &lt;&gt; ', $campaignId);
  $this-&gt;db-&gt;where('emailsToCampaigns.campaignId != ', $campaignId);
  $this-&gt;db-&gt;where('emailsToCampaigns.campaignId', ' != ' . $campaignId);
  $this-&gt;db-&gt;where('emailsToCampaigns.campaignId != ' . $campaignId);
  </code></pre>
  
  <p>All with no luck.  Ideas?</p>