I have json like this:
[{"lt":"1","lot":["0","0","0","0","0"]},{"lt":"2","lot":["0","0","0","0","0"]},{"lt":"3","lot":["0","0","0","0","0"]}]
but how can i get lot value? i just can get lt value, im using this code:
$string = json_encode($results) // $results is my json data;
$json = json_decode($string);
foreach($json as $value){
echo $value->lt;
}