want to join us? register, it's easy | help

browse by tag: pager

sort by

newest, oldest, most popular

category icon

Navigation with Pager and AJAX (or simple Javascript)

in PHP added by quipo, on 3/7/2007 AJAX JavaScript PEAR advanced tutorials pager

An example on how to harness PEAR::Pager to create javascript links, and one showing how to use it with AJAX to fetch only the data for the currently displayed page.

comment save report
category icon

How to efficiently paginate database results

in PHP added by quipo, on 1/7/2007 PEAR advanced tutorials database pager

PEAR::Pager was written with the purpose of paginating arrays. While you can fetch all the records from a database, store them into an array and pass it to Pager, this method isn't particularly efficient. If you have large resultsets, it isn't efficient at all. There's a better solution: please welcome Pager_Wrapper.

comment save report