title: Zend Framework: How to do a DB select with multiple params?
body: <p>I'm just wondering what the syntax is to do a db select in Zend Framework where two values are true. Example: I want to find if a user is already a member of a group:</p>
  
  <pre><code>$userId = 1;
  $groupId = 2;
  $db = Zend_Db_Table::getDefaultAdapter();
  $select = new Zend_Db_Select($db);
  $select-&gt;from('group_members')
      -&gt;where('user_id = ?', $userId); //Right here. What do I do about group_id?
  $result = $select-&gt;query();
  $resultSet = $result-&gt;fetchAll();
  </code></pre>