Hello there,
I would like to know whether there is any trick to paginate with out using mysql operations. Most of the pagination script available on the net is using connection object.
I would like to paginate without using that. Because I am calling a function which returns an array of objects which will contain the field values of the database.
Hoping for reply.
Regards, Ajeesh.
Pagination without using connection object
Moderator: General Moderators
Re: Pagination without using connection object
You can go through the different UI stuffs. For a small recordset, you can use the jQuery Tablesorter plugin.
But remember, for a huge recordset, it would be better to fetch the defined rows at a time.
But remember, for a huge recordset, it would be better to fetch the defined rows at a time.
Re: Pagination without using connection object
array_slice() might be handy.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.