CSV file issue

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

sudheer
New php-forum User
New php-forum User
Posts: 28
Joined: Wed Dec 21, 2011 1:41 am

CSV file issue

Postby sudheer » Fri Dec 21, 2012 3:30 am

When I generate csv file in PHP , its working perfectly but template code (Like HTML code) also visible in the out put.Please resolve the issue.
Thank you in advance.

johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: CSV file issue

Postby johnj » Wed Dec 26, 2012 2:36 am

Unable to help you without the code but to the csv output generated you can apply the function strip_tags() to remove all html and php tags.

User avatar
gether
New php-forum User
New php-forum User
Posts: 16
Joined: Tue Dec 25, 2012 7:38 pm

Re: CSV file issue

Postby gether » Wed Dec 26, 2012 2:52 am

what is a csv file ?


Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 3 guests