PHPReports is an easy way to use PHP and XML to create reports.
The main purpose is see the report on a web browser, but you can run it as
a command line script to make the reports.

You can find more info on 
http://phpreports.sourceforge.net

You can find the latest code on
http://github.com/taq/phpreports
