PHP Classes

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 (1)   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 171 All time: 8,760 This week: 189Up
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: 3490458 in United States United States
Week rank: 587 Up59 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  
This week:0
All time:8,760
This week:189Up