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    
Last Updated Ratings Unique User Downloads Download Rankings
2007-11-02 (12 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 431 All time: 6,196 This week: 540Up
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.

Name: Otavio Theiss <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 37
All time rank: 120680 in Brazil Brazil
Week rank: 783 Up57 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,196
This week:540Up