Re: [PHP] Making array to string

2008-09-17 Thread Hunt Jon
Wow! Thanks all. It seems `implode` is what I wanted. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Making array to string

2008-09-17 Thread Hunt Jon
Hi, I'm new to PHP. I have an array that I would like to convert into a string. For example, I have array( 0 => "Good morning", 1 => "Good afternoon", 2 => "Good evening", 3 => "Good night" ); Now I would like to convert the array to something like: "Good morning Good afternoon Good evening Goo