Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
by 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

-
- Posts: 28
- Joined: Wed Dec 21, 2011 1:41 am
by 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

-
- Posts: 1523
- Joined: Thu Mar 10, 2011 5:07 pm
by gether » Wed Dec 26, 2012 2:52 am
what is a csv file ?
-

gether
- 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 3 guests