title: PHP CSV showing in table
body: <p>I want to show this CSV File the same way as the picture but then in PHP.
  Right now I know how to show it if they were all under "A", 
  but I'm stuck now on how to show it with more then one cell.</p>
  
  <pre><code>&lt;?php
  echo "&lt;table border='1'&gt;";
  if (($handle = fopen("top10.csv", "r")) !== FALSE) {
      $data = fgetcsv($handle, 0, ",");
      while (($data = fgetcsv($handle, 0, ",")) !== FALSE) {
          echo "&lt;tr&gt;";
          $num = count($data);
          for ($i=0; $i &lt; $num; $i++) {
              echo"&lt;td&gt;" . $data[$i] . "&lt;br /&gt; &lt;/td&gt;";
          }
          echo "&lt;/tr&gt;";
      }
      fclose($handle);
  }
  ?&gt; 
  </code></pre>
  
  <p>This is how I did it with 2 rows.</p>
  
  <p>Image: </p>
  
  <p><img src="https://i.stack.imgur.com/5eFzp.jpg" alt="enter image description here"></p>
  
  <p>Result right now:</p>