in reply to Re: Problem with while loop inside a foreach loop
in thread Problem with while loop inside a foreach loop
Anonymous Monk wrote:
Within the body of the loop, $current_building will be defined and will contain the current index of the loop.
Actually it will contain the array element not the index of the loop or index of the array. I assume that is what you meant.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem with while loop inside a foreach loop
by AnomalousMonk (Archbishop) on May 03, 2013 at 23:03 UTC |