• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 516
  • Last Modified:

Foreach Multi Dimensional Array

Foreach Multi Dimensional Array

array( [0] =>

              array (
                             [something] => test
                        )

)


how do you for each loop an array like this?
0
ninjadude12
Asked:
ninjadude12
1 Solution
 
Ray PaseurCommented:
You might use two nested foreach statements, however it would depend on the data and the information demands of the application.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now