Downloaded .csv file contains Type HTML Document
<p>i am having problem when downloading file using Php script, Problem is when csv generated it contains document type HTML.
<strong>"Which is: HTML document (5.9 KB)"</strong>
I tried everything like changes Content type etc but issue still persist.
Please suggest,
Thanks in advance.</p>