[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 evening Good
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 afternoon Good
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
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 like:
Good
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 array to
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 = Good
6 matches
Mail list logo