title: how can upload an excel file in php and print the content in html table?
body: <p>i try to use phpoffice/phpexcel to do this but i haven't an idea of do it... i have this form in html</p>
  
  <pre><code>&lt;body&gt;
      &lt;div align="center"&gt;ELENCA TABELLE PRESENTI NEL DB&lt;/div&gt;
          &lt;form action="index.php" method="post"
          enctype="multipart/form-data"&gt;
  &lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
              Filename:
          &lt;/td&gt;
          &lt;td&gt;
              &lt;input type="file" name="file" id="file"&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td colspan="2" align="right"&gt;
              &lt;input type="submit" name="submit" value="Submit"&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/form&gt;
          &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"&gt;&lt;/script&gt;
          &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"&gt;&lt;/script&gt;
          &lt;script src="/include/js/bootstrap-contextmenu.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="/include/js/bootflat.min.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="https://cdn.datatables.net/s/bs/pdfmake-0.1.18,dt-1.10.10,af-2.1.0,b-1.1.0,b-colvis-1.1.0,b-html5-1.1.0,b-print-1.1.0,cr-1.3.0,fc-3.2.0,fh-3.1.0,kt-2.1.0,r-2.0.0,rr-1.1.0,sc-1.4.0,se-1.1.0/datatables.min.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>i want use it for upload an excel file and in another file call index.php, i want do a query for show the data into this excel file that i have upload in a html table, how can i do this? thank you very much</p>
  
  <p>i have just installed the package phpoffice/phpexcel with composer, i can use the libraries into this</p>