Databases: PHP data grid class
Stefan Gabos (contact me)
This class can be used to display MySQL query results in HTML tables.
It executes a given SQL SELECT query and generates an HTML table defined by a template to display the query results.
The results table also shows links to navigate between query result pages. The number of result rows to display per page is configurable.
The results can be sorted by columns that the user may choose by clicking on column links. The list of sortable columns may be restricted.
A special column may be displayed with check box inputs to let the user choose specific rows to perform additional operations on the selected rows.
The content of the fields may be changed using custom callback functions.
The Javascript to handle row click events may also be customized.
Additional columns may be added to the generated table using a customization sub-class.
| Utility
| Consistency
| Docs
| Examples
| Tests
| Videos
| Overall
| Rank
|
| Good (84.4%)
| Good (81.3%)
| -
| Good (84.4%)
| -
| -
| Not sure (58.8%)
| 734 |
Click here for detailed information about this class on phpclasses.org