Dear All,

Eve of sacred moment, the v-day, hav my love regards 2 all.

I have just joined this illustrious group and feeling comfortable
imagining that now i've so many friends in this community 2 help me
sorting out probs that i face in baking cake.

So, I want to do pagination in cakephp not with the number of rows
returned from the db with findAll function, instead I want to have
pagination based on number of colomns which will be dynamic.

Suppose, there are 40 rows in db. Now if i have to show 5 rows of data
per page I can do it by placing this piece of code at the top of
controller "var $paginate = array('limit' => 5, 'page' => 1); ".

Now what I want to do is instead of placing 10 rows of data in a page
i.e in one colomn, I want to keep this colomn number dynamic i.e. col
number could be 2 3 or any number. So, If col number is 4 then 5 rows
of data will be shown in 4 cols that is among the 40 rows of db data,
in one page there will be shown 20 [4x5 basis] records with pagination
in two pages.

So, can anyone help me in this regard.

Regards
Tushersuvro
Deshlink(Bangladesh)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to