export to csv file in PHP, please help
Moderator: General Moderators
-
songbacdau
- Forum Newbie
- Posts: 1
- Joined: Mon Aug 14, 2006 8:53 am
export to csv file in PHP, please help
I want to export data form database to csv file, but have a problem: my data in utf-8 charset, when i export to csv, it can't show in right unicode font. Please help me.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
You may be able to use the header() function in conjunction with a content-type declaration.