|
Posted by satyakaran on 04/23/07 06:17
On Apr 19, 5:27 pm, "laredotorn...@zipmail.com"
<laredotorn...@zipmail.com> wrote:
> Hi,
>
> Using PHP 4.4.4, I have this array
>
> $my_arr = array("a", "b", "c", "d");
>
> What is the easiest way to insert the element "|" between the elements
> of the array so that the result is
>
> array("a", "|", "b", "|", "c", "|", "d");
>
> ? Thanks, - Dave
I could not find your answer except using foreach() loop.
Navigation:
[Reply to this message]
|