Yep - lots of tutorials out there, some even on the php.net! Hint, try the
Getting Help link, then look for samples/tutorials.
So, do what the rest of us have done educate yourself, play a bit, find
out how things work what they look like when they break.
Then you're ready to ask questions,
I have created a MySQL database. The table I am creating is a subscriptions
database. I want to be able to export all e-mail addresses stored in the
e_mail column into a plain text file on the web server (1 e-mail address
per row) where the discipleship_mailing_list_e_mail_subscription equals
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
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?
take a look at the header function
http://php.net/header
an example...ymmv
header(Content-type: application/vnd.ms-excel);
way cool - thanks for the clues!
Mark
It's better to TEACH a man how to fish than to GIVE him a fish!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 7:46 AM
take a look at the header function
http://php.net/header
an example...ymmv
To: Galbreath, Mark A
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP-DB] exporting data to excel
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?
take a look at the header function
http://php.net
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?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Isn't that better to use excel com object?
-Original Message-
From: matthew perry [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 9:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] exporting data to excel
I am looking for the easiest way to export data to an excel file
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:
HI,
How do I export the result on my browser received from Sybase using PHP to
.rtf/.txt format and save on to my local hard disk?
Regards,
Ajaya Sharma
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
10 matches
Mail list logo