Sorry, bad choice of words. By element I meant parameter. Jeff
> -----Original Message----- > From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 18, 2003 10:35 AM > To: Jeff McKeon; [EMAIL PROTECTED] > Subject: Re: [PHP] An array as an element of a function > > > Hi, > What do you mean by element of a function? usually functions take > parametes (also known as arguments). elements are members of > an array. > In other words a collection of elements make up an array. > > > > > Jeff McKeon wrote: > > >Is it possible to pass an array as an elemtent of a function?? > > > >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); > > > >Or does something special have to be done? > > > >Thanks, > > > >Jeff > > > > > > > > > -- > Raditha Dissanayake. > -------------------------------------------------------------- > ---------- > http://www.radinks.com/sftp/ | > http://www.raditha.com/megaupload > Lean and mean Secure FTP > applet with | Mega Upload - PHP file uploader Graphical User > Inteface. Just 150 KB | with progress bar. > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php