Hi
I'm sure this is relatively simple but for some reason i'm struggling to understand how this function works. I have a csv made of lines like:
"john","smith","united kingdom","address line 1, address line 2","telephone"
fgetcsv($handle, 100000, ',', '"'))
is returning
Array ( [0] => "john" [1] => "smith" [2] => "united kingdom" [3] => "address line 1" [4] => "address line 2" [5] => "telephone" )
As you can see it splits the fourth value into two, yet i thought the fgetcsv enclosure value of '"' should keep these values as one?
Thanks
Ant