there's also join() (which is the exact same as implode)
but might help you remember that it's joining the elements
of an array together into a single string.

> -----Original Message-----
> From: Alva Chew [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 9:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Convert
> 
> 
> 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
> 
> <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi
> >
> >  How do I convert arrays to string ??.
> >
> > ~ Karthick
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to