0

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.

2
  • What have you tried so far? Commented Jun 10, 2020 at 14:04
  • I have found this link where we can save sql data in excel file, stackoverflow.com/questions/15699301/… but i want to know can i use SimpleXLSX Library for that because i have used it before in the same project to import data. Commented Jun 10, 2020 at 14:10

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.