PM Report is a free report generator written in PHP and support for multiple database backend such as PostgreSQL (pgsql), MySQL to store your generated report. it create customizable reports which is very easy to use and simple to setup.
You can select which database, table, and individual fields to use on your report. It also allow you to select the order in which the fields should appear on the report, the field you would like to group by, the field you would like to sort by, and whether or not you would like a total for each column.
Once the report has been generated, you can highlight individual rows and easily export the generated report to CSV. It’s an open source project released under GNU General Public License (GPL).
Download : PM Report