In a recent interview in a company I was asked to tell the
a function name which generates CSV file . As I don't know
the answer so I wonder if there is any in-built function in PHP5
to create CSV file. Generally its done by manipulating the
header and setting it's content to a type like following.
Expand|Select|Wrap|Line Numbers
- header("Content-type:text/octect-stream");
- header("Content-Disposition:attachment;filename=data.csv");
Thanks and Regards
codexxx