How to get single value from JSON array in PHP code example Example: how to get data from json array in php $data = json_decode($json);