Multiple pdf document with R&OS;library

#1
[eluser]Ornis[/eluser]
I am using R&OS;-pdf library to produce tables. I loop through an array and each loop triggers a db request, makes a table and saves it to pdf. However, the contents are accumulate so that non-first pdfs contain all tables from the previous loops. Does anybody know, how to flush/destroy the pdf-content at the end of each loop? I tried $this->closeParsers(), which interrupts the whole script. Thanks.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.