PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2007-11-02 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 429 All time: 6,001 This week: 1,129Up
Version License PHP version Categories
paginacao_for_adodb 1.0Freeware4.0HTML, Databases
Description Author

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

  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  
 0%
Total:429
This week:0
All time:6,001
This week:1,129Up