On Sep 17, 2008, at 10:54 AM, Nathan Rixham wrote:
Eric Gorr wrote:
On Sep 17, 2008, at 8:54 AM, Hunt Jon wrote:
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 =>
Eric Gorr wrote:
On Sep 17, 2008, at 8:54 AM, Hunt Jon wrote:
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 arr
On Sep 17, 2008, at 8:54 AM, Hunt Jon wrote:
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 l
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
Hunt Jon wrote:
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 afternoo
[snip]
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 even
6 matches
Mail list logo