php - TCPDF: How to store a pdf page separately? -


my php script generates multiple page document tcpdf that:

foreach($data $datarow) {    // ....    $this->writehtmlcell(...);    $this->addpage(); }  $this->output(...); 

this works perfectly. have store each single page separately. in other words: every foreach-iteration must store current page single pdf file. possible?

move $this->output(...); function inside foreach function.

foreach($data $datarow)  {     // ....     $this->writehtmlcell(...);     $this->addpage();      $this->output(...); } 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -