How to create a simple Microsoft Excel spreadsheet with PHP only
I’ve had the need to create many spreadsheet exports over the years for various clients and found the simplest way to do it without having to install specific libraries or third party software is to just create the spreadsheet with plain PHP.
The following script will create a comma delimited excel spreadsheet named spreadsheet_name.xls. When you browse to the page with this script the page will produce the export and provide a link to open it.
Continue reading “PHP Simple Microsoft Excel Spreadsheet Example”