It's 'limit' not 'limits'. Not sure if that's the only problem, but it's a 
starter.

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 5 Feb 2011, at 07:48, Joseph Buarao wrote:

> Hi Fellow Programmer,
> 
> I getting problem with my code, I don't know what's the reason why the
> sql limit statement is not working on my paginate query. below are my
> codes feel free to suggest, I really Appreciated it.. Thank you in
> advance for your support GUYS...
> 
> $this->paginate = array('conditions' =>  array('Category.slug'=>
> $category),
> 'limits' => 10);
> 
> $feeds_data = $this->paginate('Category');
> 
> By the way, I used hasAndBelongsToMany relationship..
> 
> Thanks..
> 
> 
> Joseph Buarao
> Web Developer
> Azure Web Design.com
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to