title: Zend Framework: Select like query
body: <p>That is my select function:</p>
  
  <pre><code> public function search($for) {
      $q = $this-&gt;select()-&gt;from($this-&gt;_name, array('id', 'title', 'content'))
              -&gt;where('title LIKE ?', "%$for%")
              -&gt;orWhere('content LIKE ?', "%$for%")
              -&gt;orWhere('keywords LIKE ?', "%$for%")
              -&gt;where('is_visible = ?', 0)
              -&gt;where('category = ?', 7);
  
      return $this-&gt;fetchAll($q);
  }
  </code></pre>
  
  <p>But why if is_visible = 1 or category is different from 7 select and other rows?</p>