HOw do you combine two foreach loops into one.
Posted
by Kirk
on Stack Overflow
See other posts from Stack Overflow
or by Kirk
Published on 2010-03-31T22:43:06Z
Indexed on
2010/03/31
22:53 UTC
Read the original article
Hit count: 310
foreach-loop
|php
The language is PHP. I have one foreach ( $a as $b) and another foreach ($c as $d => $e). How do i combine them to read as one. I tired foreach (($a as $b) && ($c as $d => $e)), but that is rubbish.
© Stack Overflow or respective owner