学习过程中遇到的一些问题收集:
phpexcel 导出文件,
打开excel文件时提醒:
"Excel found unreadable content in 'test.xlsx'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes."
网上找的方法一般都是类似于:
Open the file in a text editor, and look to see if there are any white space characters at the beginning or end of the file, or any obvious error messages visible.
没有解决,最终解决的方法: 在php文件最后加上 exit; 生效。
在使用PHPExcel库导出文件时遇到Excel文件打开提示错误的情况,通过在PHP文件中添加exit;语句解决了该问题。
2252

被折叠的 条评论
为什么被折叠?



