On Fri, Jun 07, 2002 at 11:02:45AM +0200, Markus Fischer wrote :
> Hi,
>
> On Fri, Jun 07, 2002 at 10:49:21AM +0200, C. McCohy wrote :
> > > $fruits = array('banana', 'orange', 'apple');
> > $vegetables = array('carrot', 'cabbage', 'cucumber');
> > $favorite_food = 'icecream';
Hi,
On Fri, Jun 07, 2002 at 10:49:21AM +0200, C. McCohy wrote :
> $fruits = array('banana', 'orange', 'apple');
> $vegetables = array('carrot', 'cabbage', 'cucumber');
> $favorite_food = 'icecream';
>
> $all_day_food = implode_multi(', ', $fruits, $vegetables, $favorite_foo
Hi there,
while creating some stuff in PHP, I needed the PHP function implode()
work like Perl function join, so that the first argument of the function
is glue and an unlimited list of other arguments is made of arrays and
strings. So I made a new function called implode_multi (with an alias
j