We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Pagination break data

Hello again, im searching to implement pagination on my album images page, pagination seems work, i got all items on array with images and page numbers but when click the secon page or the next button the result dont go next but is empty, break the data and dont show the next images on the album.

to be more clear: TheController TheView

edited Jan '16

To be honest i dont use this build in paginator for simple reason - you have to select all data from database first, and then do paginate, why do that when you can do the same with offset and limit in query, find method ?