Multidimensional array only returning one item in PHP -


I have a multi-dimensional array, which is a few levels deep I trying to loop through some lower levels of array objects But when I do, it only returns an array item.

  foreach ($ item as item $) {foreign currency ($ item $ id) {echo $ id; }}  

For some reason, $ id echo returns the first item in the $ item array, how do I see all objects in the $ item array and resonate them?

First, are you completely sure that this is a multi-dimensional array? I'll try to check my $ item structure by using <$ p>

  print_r ($ item)  

Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

sql server - SQL Query - Delete duplicates if more than 3 dups? -

c# 3.0 - Issue with getting 2 chars from string using indexer -