Re: Newbie array problem
| From: | RaTT | Date: | Thu, 23 Sep 2004 10:22:14 +0000 |
| Subject: | Re: Newbie array problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197657@lists.php.net to get a copy of this message | ||
Hello
Try this
$array = array(1, 2, 3, 4, 5, 6, 7);
$display = implode(';',$array);
echo $display;
hth
Jarratt
On Thu, 23 Sep 2004 13:16:03 +0300, Phpu <phpu@go.ro> wrote:
> If i have an array
> $array = array(1, 2, 3, 4, 5, 6, 7)
> How can i display the array element sepparated by (;) like this
> $display = 1;2;3;4;5;6;7
>
> Thanks
>