title: drupal 7 db_select with OR statement
body: <p>I am trying to execute the following code:</p>
  
  <pre><code>            $state  =   db_select('webform_email_confirm', 'wec')
              -&gt;fields('wec')
              -&gt;condition('nid', $form['nid']['#value'], '=')
              -&gt;condition('cid1', $form['cid']['#value'], '=')
              -&gt;or('cid2', $form['cid']['#value'], '=')
              -&gt;execute()
              -&gt;fetchAssoc();
  </code></pre>
  
  <p>The third statement, <code>-&gt;or('cid2', $form['cid']['#value'], '=')</code>, does not work.</p>
  
  <p>I need to match records in my database in either <strong>cid1</strong> or <strong>cid2</strong>.</p>