title: PHP Json_decode Multidimensional Array
body: <p>I am trying to decode a portion of a json code in PHP. The json looks something like:</p>
  
  <pre><code>"title":"A Title Here",
  "images":[
  
  {
      "coverType":"fanart",
      "url":"some_random_file_here.jpg"
  },
  {
      "coverType":"banner",
      "url":"another_random_file_here.jpg"
  },
  {
      "coverType":"poster",
      "url":"yet_another_random_file_here.jpg"
  }
  
  ],
  </code></pre>
  
  <p>I want to get the <strong>url</strong> that is under the <strong>"coverType":"banner"</strong></p>
  
  <p>I can easily parse the title with the following code:</p>
  
  <pre><code>$itemNr = 0;
              foreach($json as $item) {
                  $mytitle = $item['title'];
                  echo $mytitle;
  $itemNr++;
  </code></pre>
  
  <p>How would my code look like using the same concept. Please note that I have simplified the code of JSON. The actual php for some items not shown on my code above look something like:</p>
  
  <pre><code>$somevariable = $item['series']['tvdbId'];
  </code></pre>
  
  <p>Any advice is greatly appreciated.</p>
  
  <p>Thanks,</p>
  
  <p>H.</p>