PhpExcel create sheet for each result row PHP MySQL
问题 I have a question regarding creating one excel file only with PhpExcel, but many worksheets (or whatever you call the extra sheets all inside 1 excel file). I am trying to export my php mysql data using phpexcel into excel file xlsx. There is a fair amount of data in my database. I would like to export data in each row in a separate worksheet inside the same excel file. For example, in my database 1 John Doe aaa@bbb.com 2 James Citizen zzz@xxx.com 3 ... 4 ... 5... ... and so on I would like