title: How can I parse JSON into a html table using PHP?
body: <p>I have to get a table in my website. And have to get the data for this table from
  "<a href="http://west.basketball.nl/db/json/stand.pl?szn_Naam=2014-2015&amp;cmp_ID=373" rel="noreferrer">http://west.basketball.nl/db/json/stand.pl?szn_Naam=2014-2015&amp;cmp_ID=373</a>"
  I've tried a lot of thing but nothing works....</p>
  
  <pre><code> &lt;!DOCTYPE html&gt;
    &lt;html&gt;
     &lt;head&gt;
      &lt;script type="text/javascript" 
         src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
     &lt;/head&gt;
     &lt;body&gt;
      &lt;?php
      $json=file_get_contents("http://west.basketball.nl/db/json
      /stand.pl?szn_Naam=2014-2015&amp;cmp_ID=373");
              $data =  json_decode($json);
  
          if (count($data)) {
              // Open the table
              echo "&lt;table&gt;";
  
              // Cycle through the array
              foreach ($data as $stand) {
  
                  // Output a row
                  echo "&lt;tr&gt;";
                  echo "&lt;td&gt;$afko&lt;/td&gt;";
                  echo "&lt;td&gt;$positie&lt;/td&gt;";
                  echo "&lt;/tr&gt;";
              }
  
              // Close the table
              echo "&lt;/table&gt;";
          }
      ?&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>