Has anyone built a cvs file on the fly and have it autodisplay in excel within the browser. I have a string value that is holding the contents of a csv but now how do I push it to the browser?
Thanx
I'm pretty sure you have to output the appropriate header() for that to work. Try:
header("Content-Type: application/x-msexcel")
-- Rich Rijnders -- Irvine, CA US
Yes but since the file name is something .php explorer knows not what to do with it.
explorer or excel?
I got it working now thank you. Explorer asks if you wish to open if you like to or not.