I need a PHP function to upload an XLS/XLSX file using [login to view URL]
Sample code here [login to view URL]
So a upload button on the web page to upload a file, Read the XLS or XLSX file show header as well as all the data on the web page.
The excel can have many columns so nothing should be hard coded.
Code should be commented