RE: [PHP-DB] exporting data to excel
| From: | Galbreath, Mark A | Date: | Thu, 25 Mar 2004 12:37:14 +0000 |
| Subject: | RE: [PHP-DB] exporting data to excel | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-33638@lists.php.net to get a copy of this message | ||
Do you set the content-type in the response header like in JSP and servlets?
I've been reading the PHP Manual; where do you find stuff like this?
Mark
-----Original Message-----
From: John W. Holmes [mailto:holmes072000@charter.net]
Sent: Wednesday, March 24, 2004 9:02 PM
To: matthew perry
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] exporting data to excel
matthew perry wrote:
> I am looking for the easiest way to export data to an excel file. Is
> the easiest way to use PHP's file handling functions?
Easiest way is to just send Excel headers and output an HTML table.
Excel will convert it to a spreadsheet.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals www.phparch.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php