R
R
root092016-06-15 14:02:21
PHP
root09, 2016-06-15 14:02:21

json_decode how to access value?

There is such a json response:
aaf326ce6308229a3997472864ca19c1.png
How to access an item by its id?
i.e. something like this
$item_id = "6019135086";
$item = $json_decoded_api->result->items->id->$item_id;
but it doesn't work naturally

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question