PHP Classes

data_table: Generates HTML tables from a data array

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,587 All time: 2,476 This week: 194Up
Version License Categories
data_table 1.0GNU General Publi...HTML


The class data_table generates a HTML table from an array of datasets. This array must have 2 dimensions.

You can set the table to be orderable and so the headers appear as links that will make the table be sorted when they are clicked.

It also has an automatic next-previous functions which will show links at the bottom of the table when the count of data will be bigger than the count of shown datasets.

It is also easy to change the layout of the table and its data.

For detailed information about how to use, just download this class and its testfile and read the documentation at the beginning of the class source.

Picture of Moellers Oma
Name: Moellers Oma <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 43
All time rank: 32215 in Germany Germany
Week rank: 398 Down18 in Germany Germany Down

  Files folder image Files  
File Role Description
Plain text file data_table.class.php Class The class file
Accessible without login Plain text file data_table_test.php Test Example and test file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,476
This week:194Up