Posted by James McIninch on 09/19/06 11:44
PHP to generate the CSV is probably easiest:
<?php header("Content-Type", "text/csv");
// code spewing CSV here
?>
nephish wrote:
> Hello there,
>
> i have an app that i need to be able to publish a link to download a
> csv file.
> i know that i can use php to make the file, but how to i link to it
> through php.
> like if i have an html file that has a link in it like this
> <a href="somedata.csv">here be data</a>
> or would i make that a .php file that would generate a csv ?
>
> the data will come from MySQL.
>
> any ideas?
>
> thanks
Navigation:
[Reply to this message]
|