Displaying excel file in a browser. PHPExcel

后端 未结 1 339
予麋鹿
予麋鹿 2021-01-25 08:01

For example I\'m using such a code:



        
相关标签:
1条回答
  • 2021-01-25 08:19

    Remove this line...

    header('Content-Disposition: attachment;filename="report.xlsx"');
    

    The user must have something in their browser capable of viewing the Excel file too.

    0 讨论(0)
提交回复
热议问题