note 98099 added to function.str-getcsv
| From: | dgoldman at inspiration dot com | Date: | Wed, 26 May 2010 00:08:50 +0000 |
| Subject: | note 98099 added to function.str-getcsv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169607@lists.php.net to get a copy of this message | ||
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? :)
----
Server IP: 208.69.120.55
Probable Submitter: 67.208.103.178
----
Manual Page -- http://www.php.net/manual/en/function.str-getcsv.php
Edit -- https://master.php.net/note/edit/98099
Del: integrated -- https://master.php.net/note/delete/98099/integrated
Del: useless -- https://master.php.net/note/delete/98099/useless
Del: bad code -- https://master.php.net/note/delete/98099/bad+code
Del: spam -- https://master.php.net/note/delete/98099/spam
Del: non-english -- https://master.php.net/note/delete/98099/non-english
Del: in docs -- https://master.php.net/note/delete/98099/in+docs
Del: other reasons-- https://master.php.net/note/delete/98099
Reject -- https://master.php.net/note/reject/98099
Search -- https://master.php.net/manage/user-notes.php