I got this export csv function somewhere in the past. It has been working for years. I now have a database that very big. About 20 columns and 26,000 rows. This is causing the “GetRows()” function to crash. Can someone provide a function that will read the data one row at a time so that I don’t need a bunch of memory to hold the complete database in an array? Code -https://gist.github.com/JimInWoodstock/2012d9c6144dc4906904f7a6effa3d25
1 Answers
Hello,
Refer this code: https://www.gridphp.com/demo/demos/export/export-custom.phps
Line 129-179
Your Answer