in reply to Where is my foreach data going to?
See what I mean? It just seems to almost be caching or writing out of order. I'm sure it's my mistake, but I sure don't know why it's doing this. These are the results from my original code base.@row is assigned 31 Medium Orange carb 14 2 0.2 @athlete[$i,$j] is assigned the value @athlete[$i,$j] is assigned the value Medium Orange @athlete[$i,$j] is assigned the value carb @athlete[$i,$j] is assigned the value 14 @athlete[$i,$j] is assigned the value 2 @athlete[$i,$j] is assigned the value 0.2 @row is assigned 42 1/2 c. (cooked) past carb 19.5 3.2 0.4 @athlete[$i,$j] is assigned the value 42 42 @athlete[$i,$j] is assigned the value @athlete[$i,$j] is assigned the value carb @athlete[$i,$j] is assigned the value 19.5 @athlete[$i,$j] is assigned the value 3.2 @athlete[$i,$j] is assigned the value 0.4 @row is assigned 26 1/2 c. canned peache carb 14 1 0 @athlete[$i,$j] is assigned the value 26 0.4 @athlete[$i,$j] is assigned the value 1/2 c. canned peache 1/2 c. cann +ed peache @athlete[$i,$j] is assigned the value @athlete[$i,$j] is assigned the value 14 @athlete[$i,$j] is assigned the value 1 @athlete[$i,$j] is assigned the value 0 @row is assigned 6 White Bread III carb 24.5 4.1 2.3 @athlete[$i,$j] is assigned the value 6 @athlete[$i,$j] is assigned the value White Bread III 0 @athlete[$i,$j] is assigned the value carb carb @athlete[$i,$j] is assigned the value @athlete[$i,$j] is assigned the value 4.1 @athlete[$i,$j] is assigned the value 2.3 @row is assigned 20 Marias Spanish Rice carb 42.4 4.3 5 @athlete[$i,$j] is assigned the value 20 @athlete[$i,$j] is assigned the value Marias Spanish Rice @athlete[$i,$j] is assigned the value carb 2.3 @athlete[$i,$j] is assigned the value 42.4 42.4 @athlete[$i,$j] is assigned the value @athlete[$i,$j] is assigned the value 5
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Where is my foreach data going to?
by Roger (Parson) on Sep 18, 2003 at 02:03 UTC | |
by leriksen (Curate) on Sep 18, 2003 at 06:37 UTC | |
by demerphq (Chancellor) on Sep 18, 2003 at 11:34 UTC |