PHP Classes

DataGrid: Display paginated MySQL query results in a grid

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-10-28 (8 years ago) RSS 2.0 feedStarStarStarStar 73%Total: 3,623 This week: 2All time: 866 This week: 628Up
Version License Categories  
datagrid_class 1.0.0FreewareHTML, Databases
Description Author  

This class can be used to display paginated MySQL query results in data grid.

It renders an HTML table with listings of data retrieved results of a given MySQL query.

The listings can be split between pages with a limited number of result rows per page.

The column names appear as links that can be clicked to sort the listing by the respective query results column.

The presentation details can be customized with CSS stylesheets.

Picture of samik71
Name: samik71 <contact>
Classes: 1 package by
Country: Israel Israel
Age: ???
All time rank: 8114 in Israel Israel
Week rank: 565 Up5 in Israel Israel Down

It's very simple to get started!!!

1. Copy code_template.php file to needed directory on your server.

2. Copy folder named "datagrid" (with all includes files) in the same 
   directory on your server.

3. Create database on your database server.

4. Change the code in code_template.php file according to your needs: 
   4.1 Uncomment all needed lines commented by '//'. 
   4.2 Change all needed variable values on yours.

5. Rename code_template.php file according to your needs.

6. Enjoy!

See example code in example folder if you have any troubles

For more information visit: 
	site or 
  • dgrid_example.JPG
  Files folder image Files  
File Role Description
Image file cal.gif Icon cal
Plain text file calendar.js Appl. calendar
Plain text file code_example.php Example code_example
Plain text file code_template.php Doc. code_template
Plain text file database_example.txt Example database_example(SQL)
Plain text file datagrid.class.php Class Class Source v.3.1.0
Plain text file documentation Doc. Documentation for PHP DataGrid v.1.x.x
Plain text file form.scripts.js Appl. javascript
Plain text file ReadMe.txt Doc. ReadMe

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,623All time:866
 This week:2This week:628Up
 User Ratings  
 All time