Forum Moderators: coopster
The heared I am using is
header ("content-type: application/octetstream text\html charset=big5;\nContent-Disposition: \"inline; filename=$file\"");
And nothing complicated in code, just a while loop to get results from db and appending to a variable and finally out of loop I am using this line of code.
echo "$data\n";
I even checked in FireFox, there it gave error simply.
Hope this cleares you what my problem is.
Thanks in advance!
[edited by: jatar_k at 8:43 pm (utc) on Oct. 28, 2004]
[edit reason] removed url, see TOS [/edit]
Generating a CSV for Download from MySQL [webmasterworld.com] msg 9