RE: [PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Maxim Maletsky
: 'Scott Fletcher'; [EMAIL PROTECTED] > Subject: RE: [PHP] Re: Any ideas on combining arrays > > Use a multi-dimensional array... try this as a kind of 'proof of > concept' > > > $array["tu4r"][]=0 > $array["tu4r"][]=10 > $ar

Re: [PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Scott Fletcher
gt; $array["tu4r"][]=10 > $array["tu4r"][]=100 > $array["tu4r"][]=1000 > $array["ph10"][]=0; > $array["ph10"][]=1; > $array["ph10"][]=2; > $array["ph10"][]=126; > > echo ''; > foreach ( $array

RE: [PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Demitrious S. Kelly
o ' TU4R: '.$value.chr(10); } echo ''; ?> cheers -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 10:15 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Any ideas on combining arrays Well, I don't thinik this

[PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Scott Fletcher
Well, I don't thinik this will work. Because I will recieve an unknown number of data. The number of PH10 I would get would be either 1 or 2 or 126, etc. There is no way to determine the number, so I already create an counter to tell me how many of them. So, that leave me with an need to c

[PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Maxim Maletsky
See, Scott.. It is all about your logic. For instance, you can create a nice multidimentional array like this: Array( '0'=>Array( 'data'=>Array( // your whole data array data data ..