PHP Classes

phpGrid: Display MySQL query results in HTML tables

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 985 All time: 3,688 This week: 455Up
Version License PHP version Categories
phpgrid 1.0GNU General Publi...3.0HTML, Databases


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: 42
All time rank: 238861 in Spain Spain
Week rank: 301 Up12 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  
This week:0
All time:3,688
This week:455Up