You can use PHP reports to easily make a report template using a XML file and render it on your browser, asking for data on a database source.