PHP Classes

Grid: Display database query results in an HTML table

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
2010-06-09 (6 years ago) RSS 2.0 feedStarStarStar 55%Total: 1,946 All time: 1,955 This week: 874Up
Version License PHP version Categories
onestep-grid 1.0GNU General Publi...5HTML, PHP 5, Databases
Description Author

This class can be used to display database query results in an HTML table.

It can execute a given SQL query and generate an HTML table that displays the query results.

The class can generate table header links to sort the results by a given row, alternate the styles of odd and even rows, display listing pagination links, and links to edit or delete row records.

A separate class is responsible for accessing a MySQL database to execute queries and retrieve results.

Picture of Kamran Shahid Butt
Name: Kamran Shahid Butt <contact>
Classes: 3 packages by
Country: Pakistan Pakistan
Age: 32
All time rank: 105413 in Pakistan Pakistan
Week rank: 873 Up16 in Pakistan Pakistan Down

  Files folder image Files  
File Role Description
Plain text file class.grid.php Class used for custom grid
Accessible without login Plain text file formValidators.js Data formValidators.js
Plain text file mysql.php Class mysql.php
Accessible without login Plain text file viewCompany.php Example This is the example of the view page

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,955
This week:874Up
 User Ratings  
 All time