Thanks all.. Jeff
> -----Original Message----- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 18, 2003 10:30 AM > To: Jeff McKeon > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] An array as an element of a function > > > Jeff McKeon wrote: > > > Is it possible to pass an array as an elemtent of a function?? > Yes > > > > > Something like this: > > > > $array1=array(1,2,3,4); > > $array2=array(a,b,c,d); > > > > Function Somefunction($var1,$var2) > > { > > someprocess using $array1 and array2; > > } > > > > Somefunction($array1,$array2); > This is the right way. > > > > > Or does something special have to be done? > No. > > > > > Thanks, > > > > Jeff > > > > You could have tried it yourself. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php