Re: array2string

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

 



try serialize function
http://us2.php.net/serialize
it's easy to switch back to array again.

small addition to Niels'post

array 2 string - implode (http://us2.php.net/implode)
string to array - explode (http://us2.php.net/explode)

-afan


> string implode(string glue, array pieces) [1]
>
> Regards,
> Niels
>
> [1] http://php.net/manual/en/function.implode.php
>
>> Pardon my ignorance and lack of ability to form the right search for
>> google, but I'm trying to figure out if there's a simple function in
>> PHP to convert array values to a string with a separator for each
>> value.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
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