how to access an array inside an json in php code example Example: how to get data from json array in php $data = json_decode($json);