Re: Re: stripping first comma off and everything after

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <robert@xxxxxxxxxxxxx>wrote:

> 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 for the addressee(s). Disclosure,
> copying, and distribution are prohibited unless authorized.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux