title: how to create html table in php
body: <p>I have the following snippet of code that basically uses explode to split out these values:</p>
  
  <pre><code>&lt;?php
  $data=array();
  $Inputfile = file("prod.txt");
  foreach ($Inputfile as $line){
     $pieces = explode(";", $line);
     echo $pieces[0];
     echo $pieces[1];
     echo $pieces[2];
     echo $pieces[3];
  //print_r($line);
  }
  ?&gt;
  </code></pre>
  
  <p>Data: (prod.txt)</p>
  
  <pre><code>PREFIX=abc;PART=null;FILE=/myprojects/school/out/data/feed_abc_2010120810.gz2
  PREFIX=efg;PART=sdsu;FILE=mail_efg.dat.2010120810.gz2
  </code></pre>
  
  <p>Can someone show me how to put this in an HTML table dynamically, like this?? Is there an easy way to do this? Thanks.</p>
  
  <pre><code>PREFIX  PART   FILE
  abc     null   /myprojects/school/out/data/feed_abc_2010120810.gz2
  efg     sdsu   mail_efg.dat.2010120810.gz2
  </code></pre>