[thelist] Download .csv from MySQL with PHP

Jake Aust jake at lovejoycreative.com
Fri Jan 24 12:43:00 CST 2003


Check out the tutorial on evolt on how you can use PHP to create an excel
file from mySQL...very interesting.

http://www.evolt.org/article/Using_MySQL_and_PHP_to_Present_Excel_Spreadshee
ts/20/26896/index.html#comment54315

Jake

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of RUST Randal
Sent: Friday, January 24, 2003 10:38 AM
To: thelist at lists.evolt.org
Subject: [thelist] Download .csv from MySQL with PHP


I have a MySQL database, and am using ADOdb and PHP to extract the data
and display it as HTML.  Above each HTML table, I want to have a link
that the user can click and download the data that is displayed on
screen in .csv or tab delimited format, so that they can pull it into
Excel.

I found out how to display the .csv on screen with a <pre> element, but
downloading it has been altogether another issue.

----------
Randal Rust
Covansys Corp.
Columbus, OH
--
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !





More information about the thelist mailing list