I'm developing a site using PHP and MySQL and there is a requirement to produce reports which will have to be highly formatted (including charts) and printed. I have searched the web and cannot find a solution. I have tried the PEAR Spreadsheet_Excel_Writer module but this only creates simple spreadsheets (no charts), JPGRAPH (have had problems with using this) and looked at using OpenOffice as a background process (I have used this technique before but with VB and Excel). Essentially what we need is a process where the user can make a selection on a WEB page which will result in php interrogate a database, creating a report, converting it to PDF and delivering it to the user. Does anyone know of such a solution?