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
Post a Comment