Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

CSV file issue

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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.
sudheer
New php-forum User
New php-forum User
 
Posts: 28
Joined: Wed Dec 21, 2011 1:41 am

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.
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: CSV file issue

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

what is a csv file ?
User avatar
gether
New php-forum User
New php-forum User
 
Posts: 16
Joined: Tue Dec 25, 2012 7:38 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron