PHP Report Grouping: Generate HTML tables grouping data records

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2020-09-12 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 151 All time: 8,860 This week: 201Up
Version License PHP version Categories
reportgrouping 3GNU General Publi...1HTML, PHP 5, Databases
Description Author

This class can generate HTML tables grouping data records.

It can take an array of records generate reporting output. Currently it can:

- Output the report in any other format using callback functions
- Group data by the values of given columns
- Show a subtotal at each break in grouped data values
- Show a grand total

Innovation Award
PHP Programming Innovation award nominee
September 2020
Number 10
Many Web sites display reports of data eventually retrieved from databases or other data sources.

Usually those reports show the data that was retrieved. In some cases, the values that represent values calculated using values of the report itself, like for instance the total of column values.

This class provides a solution to generate this kind of report that can be used to display data from other types of reports, like any type of data source that can be accessed to retrieve data into arrays.

Manuel Lemos
Picture of Steven Hoyt
  Performance   Level  
Name: Steven Hoyt <contact>
Classes: 3 packages by
Country: United States United States
Age: ???
All time rank: 3529444 in United States United States
Week rank: 523 Up62 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

 

  Files folder image Files  
File Role Description
Accessible without login Plain text file Example.php Example Implementation Of ReportGrouping.php class
Plain text file ReportGrouping.php Class Dynamic grouping and subtotaling class.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:151
This week:0
All time:8,860
This week:201Up

For more information send a message to info at phpclasses dot org.