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