You can try this - no idea if it'll work and no time to try it ;)
$this->set('men', $this->paginate(null,array('gender'=>'1')));
$this->set('women', $this->paginate(null,array('gender'=>'2')));
On 21 Maig, 16:45, "Mantas K." <[EMAIL PROTECTED]> wrote:
> I have one table, but in view I show it as two. One one side there are
> men, on other women. They must have separate paginations.
> Is there solution how i can do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---