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:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 9:02 PM
To: matthew perry
Cc: [EMAIL PROTECTED]
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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to