title: Pagination by conditions in cakephp
body: <p>i am having a doubt in using pagination like thing in my application..</p>
  
  <p>where mytable looks like</p>
  
  <pre><code> Entry Firstname Last Name  Residential Address Degree  Gender   Submitter
  
   1  Aruna    Chinnamuthu    MDu                   BE     Female  aruna@gmail.com
   2  Nisha    Durgaeni   MS                    BE     Female  nisha@gmail.com
   3  Nathiya  N          Mumbai                    BE     Female  nathiya@gmail.com
  </code></pre>
  
  <p>In my view i am trying to bring the First entry at first and on clicking the next link in the View it must show the Entries for the second submitter and goes on ..</p>
  
  <p>I have seen the pagination concepts in book.cakephp.org. But in all those they have mentioned only to paginate by using limit and order and not by using conditions.. how to do so..</p>
  
  <p>It is possible ?? </p>
  
  <p>My submitters is in the array as</p>
  
  <pre><code>function view($formid){
  </code></pre>
  
  <p>$submitters=$this->Result->find('all',array('conditions'=>array('Result.form_id'=>$formid),'group'=>array('Result.submitter_id')));</p>
  
  <pre><code>        foreach($submitters as $submitter)
          {
           echo $submitter['Result']['submitter_id'];
              } 
      }
  </code></pre>
  
  <p>That is i am trying to paginate by SUbmitters of my form .. Is it possible in cakephp??Please suggest me..</p>