php - How to pull data from this json? -


i've got json data this:

[["building1.jpg",["uploads\/45\/0\/building1.jpg","uploads\/45\/1\/building1.jpg"],[],"","45",["345:255"]]] 

and need access uploads\/45\/1\/building1.jpg, how php?

for uploads\/45\/0\/building1.jpg i'm using $data[0][1][0] , works, uploads\/45\/1\/building1.jpg $data[0][2][0] doesn't work. correct approach?

you want $data[0][1][1], they're in same array.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -