I am having a json object $result
I do this:
$json = json_decode($result, true);
Here is the output if I use this:
var_dump($json)
is this:
array(15) { ["id"]=> int(1) ["name"]=> array(16) { ... } }
If I do this:
echo $json['id'];
echo $json['name'];
The id is printed correctly : 1 But in the name this is printed: Array
How can I get that array and print it?
var_dump($json['name'])