Title: echo array in an array
Last modified: October 11, 2020

---

# echo array in an array

 *  [artistman](https://wordpress.org/support/users/artistman/)
 * (@artistman)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/echo-array-in-an-array/)
 * Thank you so much for creating this fine working widget, Mr Meo.
 * I wanted to ask you for some advice: I wanted to edit the default layout.php.
   But I don’t know how to echo the array “genres” in the array “results” of this
   json feed [https://rss.itunes.apple.com/api/v1/lu/books/top-paid/all/10/explicit.json](https://rss.itunes.apple.com/api/v1/lu/books/top-paid/all/10/explicit.json).
   To echo the Release Date for example, this is working <div class=”ff-feed-item__date”
   ><?php echo ‘Release Date:’. ‘<br />’ . $item->releaseDate ?>, but when I try
   to acces the subarray “genres” </div><div class=”ff-feed-item__genre”><?php echo‘
   Genre:’. ‘<br />’ . $item->genres ?></div>, it only shows “array” as a result.
 * Could You give me a hint, please?
    Best regards, Artistman
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fecho-array-in-an-array%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘echo array in an array’ is closed to new replies.

 * ![](https://ps.w.org/widget-itunes-feed/assets/icon-128x128.png?rev=2259121)
 * [Widget iTunes Feed](https://wordpress.org/plugins/widget-itunes-feed/)
 * [Support Threads](https://wordpress.org/support/plugin/widget-itunes-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-itunes-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-itunes-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-itunes-feed/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [artistman](https://wordpress.org/support/users/artistman/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/echo-array-in-an-array/)
 * Status: not resolved