Re: Newbie array problem
| From: | Tom Rogers | Date: | Thu, 23 Sep 2004 12:45:46 +0000 |
| Subject: | Re: Newbie array problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197667@lists.php.net to get a copy of this message | ||
Hi,
Thursday, September 23, 2004, 10:34:14 PM, you wrote:
P> If i have an array
P> $array = array(1, 2, 3, 4, 5, 6, 7)
P> How can i display the array element sepparated by (;) like this
P> $display = 1;2;3;4;5;6;7
P> Thanks
Straight from the manual
$string = implode(";", $array);
--
regards,
Tom