note 44994 added to function.fgetcsv
| From: | dalemcgrewatyahoo at osu1 dot php dot net | Date: | Sun, 22 Aug 2004 20:48:27 +0000 |
| Subject: | note 44994 added to function.fgetcsv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75127@lists.php.net to get a copy of this message | ||
Thank you all for your contributions. I used class "CSV" by miked at droplab dot com, but
the following line:
John,Smith,"123 Main Street, Apt 1",Los Angeles
(with a comma in quotes) caused it to create an extra array entry, even when I passed in a
double-quote as the '$enclosed_by' variable. The php function fgetcsv is not used in this
class (and perhaps should be?).
The class "CSVparse" by jc at goetc dot net handled this line without a problem (using the
php function fgetcsv.)
----
Manual Page -- http://www.php.net/manual/en/function.fgetcsv.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44994
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44994&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44994&report=yes
Search -- http://master.php.net/manage/user-notes.php