It is possible to give Excel output using php codes, as well as in the appropriate format that can be recognized by the office one -to -one XLS or XLSX.
I recommend the phpexcel library developed by the Codeplex Group since 2006.
https://phpexcel.Codeplex.com/
After downloading the library, you can easily produce an excel file by calling the class structure to your file.
Example:
Include ("class/phpexcel.php"); "C3: E3"); ;
$ phpexcelwrite = new phpexcel_writer_excel2007 ($ objphpexcel);
$ file = "ornek.xlsx";
$ phpexcelwrite- & gt;
asp or php?
PhpExcel ile php dosyasını XLS yapmak
Önceki cevap: What does Türkiye mean Sonraki Cevap: Excel 2007 formula error