I have to generate an Excel workbook (in XML format) with a lot of data
from my database, so I can't use pagination or something like that, I
have to get all the data. Each worksheet display data from one DB
request, and everything works fine when I display only one worksheet.
Until know, I stored each request result in a huge array and I got
memory error.
What I'd like to do is :
- output the header of the XML document
- get result from the first request
- output the first worksheet
- free memory for the result
- get result from the second request
- output the second worksheet
- free memory
- ...
- output the XML footer

This is what I meant when I said "rendering the view in many times" (my
english may be bad, sorry). I'd like to render the view many times,
each time with a different worksheet.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to