I want to get all the data from mysql table and save it in Excel format using SimpleXLSX library and let the user download that excel format. I have use that library before for importing data from excel file but now i want it for exporting from mysql database to Excel Format.
If you're using only SimpleXLSX.php
- it's impossible. example source
If you're using additional files like SimpleXLSXStyle.php, SimpleXLSXWorkbook.php, SimpleXLSXWorksheet.php
- you could save it in some directory and then retrieve it(create, save into temp dir, retrieve, delete from temp dir). example source
The final answer it's possible or not would be done after researching of the SimpleXLSX library files in your project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.