PHP Classes

Paginacao Class: Paginate listings of data retrieved with ADODB

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 434 All time: 6,286 This week: 488Up
Version License PHP version Categories
paginacao_for_adodb 1.0Freeware4.0HTML, Databases


This class can be used to split in multiple pages listings of data retrieved from a database using ADODB.

It takes a result set object of an already executed query with ADODB PageExecute function.

The class retrieves the total number of pages and total number of rows from the result set object.

It generates a list of links to the first page, last page and any intermediate pages of the list of query results.

The base URL of the links and the link colors are configurable parameters.

The code and comments are in Portuguese. In Portuguese:

Esta classe gera os links de paginação com apenas uma conexão à base de dados.

Para que a classe funcione é obrigatório o uso do pacote ADODB, pois é utilizado o método PageExecute desse pacote.

Picture of Otavio Theiss
Name: Otavio Theiss <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 42
All time rank: 121979 in Brazil Brazil
Week rank: 298 Up16 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file conexao.php Conf. Arquivo de conexao a base de dados
Accessible without login Plain text file exemplo.php Example Exemplo de utilização da classe
Plain text file paginacao.class.php Class Classe de paginação para ADODB
Accessible without login Plain text file paginacao_database.sql Data Script SQL para criação do banco de dados

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,286
This week:488Up