RE: [PHP] PHP excel capability
| From: | Richard Lynch | Date: | Thu, 19 Apr 2007 03:16:49 +0000 |
| Subject: | RE: [PHP] PHP excel capability | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253230@lists.php.net to get a copy of this message | ||
On Wed, April 18, 2007 11:25 am, tg-php@gryffyndevelopment.com wrote:
> 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.
If you output CSV format and send Excel content-type, that also works,
and may be a more natural coding than HTML tables.
Or not, depending on what you are doing. :-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?