Re: Excel AND PDF
| From: | Alan Knowles | Date: | Mon, 20 Dec 2004 08:39:14 +0000 |
| Subject: | Re: Excel AND PDF | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5374@lists.php.net to get a copy of this message | ||
Francisco Obarrio wrote:
Hello, im trying to export some data (mysql) to Excel or PDF and i cannot make it work.it should involve 2 steps a) creating the file/data b) making the system open the file.. for a) you can use the pear classes Spreadsheet_Excel_Writer or File_PDF for b) you need to save the file to the disk somewhere, and either - on windows run exec("start {the filename}"); - on unix run exec("(gnumeric|openoffice|gpdf) .. {the filename} &"); Regards Alan
I couldn´t find anything on google neither. Any ideas or examples ? Thanks Francisco