[PHP] Re: Foreach Array Help

2003-10-14 Thread Rob Adams
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > First of all, thanks for the response. > > Here is where I am getting lost: > In $code['assign'][1] - "1" is the assignment ID, and I would like the array > to be able to hold a billion of these different assignments a

[PHP] Re: Foreach Array Help

2003-10-14 Thread Jed R. Brubaker
Never mind - I figured it out. While I was traversing like this: foreach ($this->code['assign'] as $assign => $details) { foreach ($assign['codeapply'] as $codeapply => $ca_details) { } } I had set up $assign to be the key value, and l

[PHP] Re: Foreach Array Help

2003-10-14 Thread Jed R. Brubaker
First of all, thanks for the response. Here is where I am getting lost: In $code['assign'][1] - "1" is the assignment ID, and I would like the array to be able to hold a billion of these different assignments all with conceivably a billion codeapply ID as in $code['assign'][1]['codeapply'][3], whe

[PHP] Re: Foreach Array Help

2003-10-14 Thread Rob Adams
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Okay, total newbie when it comes to arrays, and I could really use some > help. I sure this will be an easy one for you veterans out there. > > Here is the array ($code): > array(2) { > ["total"]=> > int(1) > ["a