Re: [PHP] Foreach Array Help

2003-10-14 Thread Marek Kilimajer
foreach(array_expression as $key => $value) So you are looping the array key and it is a scalar value (int). Jed R. Brubaker wrote: 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):

[PHP] Foreach Array Help

2003-10-13 Thread Jed R. Brubaker
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) ["assign"]=> array(1) { [1]=> array(3) { ["type"]=> string(10) "Transcript"