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: 312

Filed under:
|

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

Related posts about foreach-loop

Related posts about php