I need a PHP function to upload an XLS/XLSX file using [url removed, login to view]
Sample code here [url removed, login to view]
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