Who used Phpexcel, the exported file is "unreadable content" error
Title, I tested, if the number of cells exported is less, about 150, there is no problem, everything is normal.
However, once the number of cells exported is greater than 150, the exported Excel file will not open, open when the error "found unreadable content"
Is there any limit to this, or how can i solve this problem?
------Solution--------------------
Although Excel does have a number of cell limits, it's not only 150 so small.
You should check to see if your program has errors in the execution of the relevant areas.
Of course, it may be that the memory you have available is too small.
In the case of no increase in available memory, you can also use file caching as a way to mitigate this contradiction
------Solution--------------------
It may be a problem with your program.
1:lz can go to StackOverflow or Phpexcel official website post
2:lz can put code to let the owner give you guidance
------Solution--------------------
for ($i =0; $i <1215; $i + +) {
$objActSheet->setcellvaluebycolumnandrow (0, $i +1, ' OK ');
}
------Solution--------------------
Use Ini_set to raise the available memory of PHP.
I have no problem with exporting 10多万条 data.