note 98099 rejected from function.str-getcsv by visualmind
| From: | visualmind@php.net | Date: | Wed, 26 May 2010 07:38:28 +0000 |
| Subject: | note 98099 rejected from function.str-getcsv by visualmind | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169611@lists.php.net to get a copy of this message | ||
Note Submitter: dgoldman at inspiration dot com
----
Thanks, hpartidas! You timed this perfectly for me.
However, your function returns an array of:
$output[$row_num][$col_num] = value
I have not used the official str_getcsv() function, but I was assuming that it would process only
one row at a time [similar to fgetcsv()], and thus return:
$output[$col_num] = value
Is my understanding of the official str_getcsv() incorrect, or is your function too powerful? :)