[thelist] Download .csv from MySQL with PHP

RUST Randal RRust at COVANSYS.com
Fri Jan 24 12:39:00 CST 2003


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



More information about the thelist mailing list