Your code is doing exactly what you are asking to do and, in this case, 
pagination is indeed your friend. The book has everything you need to do 
pagination and even ajax pagination.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 14 Oct 2011, at 20:22, Yves S. Garret wrote:

> Hey all.  I have a small problem.
> 
> I'm making a little app that will draw info from the database.  The issue 
> that I'm running into is that it draws 3000+ records out at the same time and 
> dumps it on the screen.  I would like only the first 30.  How can I do that?
> 
> This is my controller.
> 
> http://bin.cakephp.org/view/784081619
> 
> Looking into pagination at the moment...
> 
> -- 
> 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