note 74099 added to function.split

From: Date: Sat, 24 Mar 2007 21:50:34 +0000
Subject: note 74099 added to function.split
Groups: php.notes 
Request: Send a blank email to php-notes+get-124776@lists.php.net to get a copy of this message
Further to justin@cam's CSV example, I found that I needed to change: return $emelemts; into: return implode("",$elements); Otherwise you just get a CSV of the literal text "Array,Array,Array,...", instead of the strings. (PHP/5.1.2) ---- Server IP: 194.145.210.3 Probable Submitter: 90.196.245.24 ---- Manual Page -- http://www.php.net/manual/en/function.split.php Edit -- https://master.php.net/note/edit/74099 Del: integrated -- https://master.php.net/note/delete/74099/integrated Del: useless -- https://master.php.net/note/delete/74099/useless Del: bad code -- https://master.php.net/note/delete/74099/bad+code Del: spam -- https://master.php.net/note/delete/74099/spam Del: non-english -- https://master.php.net/note/delete/74099/non-english Del: in docs -- https://master.php.net/note/delete/74099/in+docs Del: other reasons-- https://master.php.net/note/delete/74099 Reject -- https://master.php.net/note/reject/74099 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124776) next »