Re: [PHP] Problem using fgetcsv()

2006-07-07 Thread Richard Lynch
On Thu, July 6, 2006 11:54 am, Don wrote: I have a CSV file, comma delimited with the data enclosed by double quotes. I am using the fgetcsv() function to read and into an array and update a database. It works great except for the odd record. After investigating, I have ascertained that

RE: [PHP] Problem using fgetcsv()

2006-07-06 Thread KermodeBear
I am using the fgetcsv() function to read and into an array and update a database. It works great except for the odd record. After investigating, I have ascertained that it is due to a backslash character in the data which fgetcsv() cannot parse properly. I don;t see anyway around this