PHPSpreadsheet error

If your Excel can not open a PHPSpreadsheet due to a linebreak in the first line, you should give the following code a try:

Read more »