Why not this?
$var = explode(,,$entries[$i][dn]);
$var = $var[0];
Adam Williams adam_willi...@bellsouth.net escreveu na mensagem
news:4c1bcf62.5070...@bellsouth.net...
I'm querying data and have results such as a variable named
$entries[$i][dn]:
I'll use,
list($data) = explode(,,$entries[$i][dn]);
Shiplu Mokadd.im
My talks, http://talk.cmyweb.net
Follow me, http://twitter.com/shiplu
SUST Programmers, http://groups.google.com/group/p2psust
Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
--
PHP General Mailing List
shiplu wrote:
I'll use,
list($data) = explode(,,$entries[$i][dn]);
It's probably the least efficient method.
Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely
http://php.net/manual/en/function.split.php
I haven't tested for efficiency but splitting it will be great for assigning
it easily into an array.
On Fri, Jun 18, 2010 at 7:42 PM, Robert Cummings rob...@interjinn.comwrote:
shiplu wrote:
I'll use,
list($data) = explode(,,$entries[$i][dn]);
Troy Oltmanns wrote:
http://php.net/manual/en/function.split.php
I haven't tested for efficiency but splitting it will be great for assigning
it easily into an array.
Explode does the same thing without the overhead of a regular expression
engine.
But the OP didn't want the rest :)
5 matches
Mail list logo