note 14148 added to function.fgetcsv.php
| From: | pknutsen at nethut dot noSPAM | Date: | Wed, 18 Jul 2001 21:20:46 +0000 |
| Subject: | note 14148 added to function.fgetcsv.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15553@lists.php.net to get a copy of this message | ||
If you get an error message like "Wrong parameter count", drop the delimiter parameter
(not supported in versions prior to PHP 4). fgetcsv() in these cases will only support the comma
delimiter.
If you cannot predict the environment your script will work in, consider using comma delimiters
whenever possible.
http://www.php.net/manual/en/function.fgetcsv.php