2017-09-28 15:25

是否可以在线创建一个excel文件并在线填充Laravel PHP


I am trying to export data of a specific user but they get messy, like this: Pic 1 I dont want to add user name as many times as there is something else different from above. in the pic above it added full name, email mobile role and status twice because it had two different timesheets, but a user can have many timesheets and I dont want it like that.

I am wondering if it is possible to create an example excel file, to have a different place just for the name, then different for mobile, and so on. something like this:

pic 2

or even in word/pdf file. Any suggestions?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答