Answer the question
In order to leave comments, you need to log in
Outputting JSON parsing results?
Fulfilling
<?php
$result = json_decode($result, true);
print_r($result);
Array (
[0] => Array (
[id] => 1
[name] => token
)
)
echo $result->array[0]->{'name'};
echo $result->array[0]->name;
echo $result->{
'0' => {'name'}
};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question