Posts by Claudio Castro • 23 points
1 post
-
2
votes1
answer66
viewsQ: Foreach followed by another Foreach on the same line
It is correct to use a foreach followed by another foreach (as in the example below)? <?php if($nome1): foreach ($nome1 as $nome2) foreach ($nome2->nome3() as $nome4): ?> #code html…