note 74880 added to function.split
| From: | joel dot pearson at gmail dot com | Date: | Wed, 02 May 2007 05:46:14 +0000 |
| Subject: | note 74880 added to function.split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126110@lists.php.net to get a copy of this message | ||
I'm not sure why steve@steve suggests to implode the array before returning it. Because that
really defeats the purpose of the whole function which is to separate each field into an array
element.
steve@steve could achieve his result by just doing something like this:
str_replace(",","",$csvrow);
----
Server IP: 203.202.10.60
Probable Submitter: 202.6.32.113
----
Manual Page -- http://www.php.net/manual/en/function.split.php
Edit -- https://master.php.net/note/edit/74880
Del: integrated -- https://master.php.net/note/delete/74880/integrated
Del: useless -- https://master.php.net/note/delete/74880/useless
Del: bad code -- https://master.php.net/note/delete/74880/bad+code
Del: spam -- https://master.php.net/note/delete/74880/spam
Del: non-english -- https://master.php.net/note/delete/74880/non-english
Del: in docs -- https://master.php.net/note/delete/74880/in+docs
Del: other reasons-- https://master.php.net/note/delete/74880
Reject -- https://master.php.net/note/reject/74880
Search -- https://master.php.net/manage/user-notes.php