Easiest way is to export the data into comma-delimited format. (.csv
files)  Excel can import those no problem.

So, you would write a php function that created a simple text file that
looked like:

Fieldname1,fieldname2,fieldname3
Data1,data2,data3
Etc.

And excel can open that kind of file right up.

Hth
--kurt

-----Original Message-----
From: Jorge Alvarez [mailto:[EMAIL PROTECTED]] 
Sent: Friday, July 13, 2001 9:58 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Export to Excel


One of my clients is requesting me to export some data from
PHP-generated pages to MS Excel files. I have no clue on how to do such
export with PHP. I'm using PHP/Apache/Linux Mandrake.

What options do I have?

Your help is very appreciated.

Regards,

Jorge Alvarez
--
Let your screen saver contribute to cancer research.
http://members.ud.com/vypc/cancer/
A new way to help. Sponsored by Intel.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] To
contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to