On 04-Feb-2004 Peter Lovatt wrote:
> hi
> 
> it is very simple in php
> 
<snip> 
 
>     $query = 'SELECT *

      $query="SELECT flds, you, want FROM ...

<snip>

 
> $output .=
> "\"$row["somefield"]\"\t\"$row["some_other_field"]\"\t\"$row["yetnothe
> r_fiel
> d"]\"\t" ;
> 

     $output .=implode("\t", $row) ."\n";

> }// end while
 

    Header("Content-type: text/tab-separated-values");
    Header("Content-Disposition: inline; filename=data.tsv");
    echo $output;

<snip>

Regards,
-- 
Don Read                                       [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to