Topic: Generating a .csv file in PHP (Read 716 times)
Global Moderator
Internet Junkie
Gender:
Posts: 1523
6847 credits Members referred : 8
Gimme all your cookies!!!
« on: Feb 20, 2006, 06:04:19 PM »
This is a simple question really...
When generating a .csv file in php, how do you escape commas in sentences or fields. For example, If I want to put Region, Country into one field, how do I stop the csv file from spliting it into two cells? I have tried double and single quotes without any luck.