PHP Classes

phpGrid: Display MySQL query results in HTML tables

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-08-08 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 977 All time: 3,529 This week: 959Up
Version License PHP version Categories  
phpgrid 1.0GNU General Publi...3.0HTML, Databases
Description Author  

This package can be used to display MySQL query results in HTML tables.

It executes an SQL query given a table name and the list of field values to display. The results may sorted and grouped by a given field.

The class display an HTML table displaying the query result values. Alternated rows may have different background colors. The table header names and the color values are configurable.

The listing table may have additional rows to show links to separate pages to process the associated database records.

It also shows links to browse the query results split between multiple pages with a given limit of rows.

Picture of Francisco Zanon
Name: Francisco Zanon <contact>
Classes: 1 package by
Country: Spain Spain
Age: 34
All time rank: 224156 in Spain Spain
Week rank: 1626 Up42 in Spain Spain Up

you need to have a called folder images with the images to show.
  • example2.gif
  • exampe1.gif
  Files folder image Files  
File Role Description
Plain text file estilosdef.css Data styles for the examples
Plain text file GridClass.php Class Generate the grid
Plain text file MySQL_class.php Class class for work with the MySQL database
Plain text file pruebaclase.php Example example1(simple select)
Plain text file pruebaclase2.php Example example2(join select)
Plain text file pruebaclase3.php Example example3
Plain text file readme.txt Data readme
Plain text file sql.txt Data create example database and tables

 Version Control Unique User Downloads Download Rankings  
 0%Total:977All time:3,529
 This week:0This week:959Up