I'm pulling data from a table in my database.
When I run var_dump($data) I get the following:
string(250) "{
"Name": "Bobby Banks",
"Manager": "Barry Banks"
},"
I'd like to grab the Manager value.
I have tried echo $data->Manager; and echo $data['Manager']; but no success.
$data = json_decode($data, true); echo $data['Name'];