PHP Classes

data_table: Generates HTML tables from a data array

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

Author

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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,589
This week:0
All time:2,476
This week:70Up