php file download showing html tags

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
sucindran
Forum Newbie
Posts: 1
Joined: Sat Jun 30, 2012 12:26 am

php file download showing html tags

Post by sucindran »

I am using the php code to download a CSV file. The file is also downloading but after the download at the top of the file it shows some HTML codings with my datas. how to remove the html contents.

I appreciate your advice.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: php file download showing html tags

Post by requinix »

Hard to say without seeing any code.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: php file download showing html tags

Post by califdon »

Just off the top of my head, I'd say your php script has html code in it, but it's impossible to know, as requinix said, without seeing any code.
Post Reply