Custom csv export not working

QuestionsCustom csv export not working
Jim Bell asked 3 years ago

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
Abu Ghufran Staff answered 3 years ago

Hello,

Refer this code: https://www.gridphp.com/demo/demos/export/export-custom.phps

Line 129-179

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

19 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?