RE: [PHP] PHP excel capability

From: Date: Wed, 18 Apr 2007 16:25:28 +0000
Subject: RE: [PHP] PHP excel capability
Groups: php.general 
Request: Send a blank email to php-general+get-253209@lists.php.net to get a copy of this message
Or, even better and more useful: http://pear.php.net/package/Spreadsheet_Excel_Writer It's not perfect, but it does the basic job. Also, if you output an HTML table and set the content type in your header to an Excel content type, it should ask the client PC to open the page in Excel (assuming they have it installed). This works for a real quick and dirty export-to-excel type thing. Then PHP isn't really creating an Excel file, but presenting the data in a format that Excel on the client PC can read. Or you can use COM as Jay recommended, but that requires Excel to be installed on the PC that's running PHP and can get a little ugly. -TG = = = Original message = = = [snip] Can PHP be used to generate an excel file [/snip] http://www.php.net/com ___________________________________________________________ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com.

« previous php.general (#253209) next »