Answer the question
In order to leave comments, you need to log in
How to take a value with a foreach loop in a multidimensional array if one of the arrays is not associative?
In general, getting data from the instagram api, I recoded Json into a multidimensional array, but one of the arrays is not associative. We need to get all images [standart_resolution]->[url] . But due to the fact that the initial array is numbered , I can not write foreach . Tell me friends, I just started learning php, and I put it very clumsily, but I think the essence is clear, thanks in advance
misha.true-false.ru/index.php?route=inst/inst link to the entire array
https://imgur.com/ gallery/6RWoP — array with which problems
Answer the question
In order to leave comments, you need to log in
due to the fact that the initial array is numbered, I can’t write foreach
It doesn’t work, I can’t go further than a numbered array, only if I pull out one value
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question