I have a for-each loop, within for-each loop
similar to:
foreach ($arr1 as $v1) {
foreach ($v1 as $v2) {
[ processing goes here ]
}
}
Now I need to processing only for first outer loop, not for every other time.
How can I do it?
1 Answer