RE: [PHP] Export to Excel
| From: | Kurt Lieber | Date: | Fri, 13 Jul 2001 16:52:17 +0000 |
| Subject: | RE: [PHP] Export to Excel | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57756@lists.php.net to get a copy of this message | ||
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:alvarezje@hotmail.com]
Sent: Friday, July 13, 2001 9:58 AM
To: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net To
contact the list administrators, e-mail: php-list-admin@lists.php.net