RE: [PHP] PHP to Excel?
| From: | J. Anderson Scarbrough | Date: | Tue, 18 Jun 2002 15:17:43 +0000 |
| Subject: | RE: [PHP] PHP to Excel? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-102708@lists.php.net to get a copy of this message | ||
I often build simple reports using HTML tables and then add an Excel MIME header to the page which launches Excel. Since newer verions of Excell suport HTML natively, Excel can read the HTML tables and render them appropriately with all your formatting. I find this works well for simple reports and it requires very little effort. Just an idea....
-----Original Message-----
From: Chad Day [mailto:cday@atpco.com]
Sent: Tuesday, June 18, 2002 10:52 AM
To: php-general@lists.php.net
Subject: [PHP] PHP to Excel?
I'm trying to get data from my MySQL database into Excel using PHP. I know and I am doing it right now by generating a CSV file, but is there any way I can do formatting, like make certain cells bold, etc etc? Is there a list of codes somewhere I can use to put before my field output to make a field bold, stuff like that?
Thanks,
Chad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com