Export to Spreadsheet Format
| From: | Benjamin Munoz | Date: | Tue, 23 Jan 2001 20:29:57 +0000 |
| Subject: | Export to Spreadsheet Format | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-36252@lists.php.net to get a copy of this message | ||
I want to run a query on a database and export the recordset to a
spreadsheet, preferably Excel native.
The box is on a Win32 OS, so I can instantiate a Excel COM object (similar
to the PHPBuilder COM article), and use the COM methods to create an Excel
file.
Or, I can fopen and fput a CSV formatted file ready to import into Excel.
My question is this: can anyone recommend a script/class where this has
already been done? Thanks, PHP list.
Ben Muñoz