I have an array like:
[meta] => Array (
[company] => Company, LLC
[confirmation] => 6391381
[reference] => None
[service] => Service
[timestamp] => 2016-04-25 11:12:54
[user] => company
)
[result] => Array (
[action] => REVIEW
[detail] => TRANSACTION REQUIRES FURTHER ATTENTION
[issues] => Array (
[0] => DOB CHECK FAILED
)
)
[output] => Array ( )
I am attempting to echo the 'action' value like this:
$json_result = json_decode($result, true);
echo "$json_result[result]['action']";
But instead of getting 'REVIEW' I am getting: 'Array['action']'
Any thoughts?