Re: Convert
| From: | Alva Chew | Date: | Thu, 28 Jun 2001 12:59:35 +0000 |
| Subject: | Re: Convert | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55484@lists.php.net to get a copy of this message | ||
use implode("separator", $array).
the separator joins the array together.
For example, if you got 'cat', 'run', 'dog' in the array
using implode("-", $array) will give you:
cat-run-dog. Got it?
regards,
Alva Chew
<tvkarthick@myrealbox.com> wrote in message
news:200106281204.f5SC4fU16294@localhost.localdomain...
> Hi
>
> How do I convert arrays to string ??.
>
> ~ Karthick
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>