Re: csv export...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Google works!!!

just found this, and it works:
"
On the other side it may be better and easier to create a csv file on the
fly. Create a page, say csv-export.php, and link to it using a
href="" This way the user's browser is tricked
that the link points to a CSV file, if it does not honor the content-type it
sends (see below).

"




David T-G <davidtg-php@xxxxxxxxxxxxxxx>

09/01/2004 16:42

To
PHP DB list <php-db@xxxxxxxxxxxxx>
cc
Tristan.Pretty@xxxxxxxxxxxxxxxx
Subject
Re: csv export...?





Tristan --

...and then Tristan.Pretty@xxxxxxxxxxxxxxxx said...
%
% On the users computer...

OK; that's what I figured.


% When my bosses look at the reporting tool I built.
% They are gonna hit the export link, and get directed to a page that let's
% them save the data as a csv file, for use in excel.

Yep.


% That's the code I'm working on here today...

Look at the header() lines in my reply outside of this subthread.


%
% ho hum... is it the weekend yet ;-)

Not quite, but you're closer :-)


HTH & HAND & HNY

:-D
--
David T-G                      * There is too much animal courage in
(play) davidtg@xxxxxxxxxxxxxxx * society and not sufficient moral courage.
(work) davidtgwork@xxxxxxxxxxxxxxx  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




*********************************************************************
The information contained in this e-mail message is intended only for
the personal and confidential use of the recipient(s) named above.
If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is
strictly prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.
***********************************************************************
-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux