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

python - jinja2: TemplateSyntaxError: expected token ',', got 'string' -

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -

Qt4: how to send QString inside a struct via QSharedMemory -