RE: [PHP] Passing array to function

2002-08-13 Thread Ford, Mike [LSS]
> -Original Message- > From: Bill Hudspeth [mailto:[EMAIL PROTECTED]] > Sent: 13 August 2002 17:10 [] > DESIRED FUNCTION VERSION > > > > $elementname="cgroup_1[]"; > > $elementsarray=$chon_group_a; > > PrintOptionBox($elementname,$elementsarray); Well, looks ok-ish so far -- wh

Re: [PHP] passing array to function?

2001-02-06 Thread David Robley
On Wed, 7 Feb 2001 11:30, Jaxon wrote: > How do you write a function that takes an array as an argument? > > Could someone please point me at an example? > > Regards, > Jaxon Try this: $val"; } } $fruits=array("a"=>"apple","b"=>"banana","c"=>"cucumber","d"=>"apricot",); show_e