Project

General

Profile

create a pdf from two pdf

Added by Alonso Uribe over 10 years ago

I have a very rare mistake.

I have 3 functions that generate pdfs.

function 1 (generate a pdf)
function 2 (generate a pdf)
function 3 (join function 1 and 2)

when I run the function 3, the pdf of the function 1.. works correctly but when it enters the function 2, the data in the generated table (function 1). the data of the function 1 are shown in the function 2.

how can reset the table? so that the same data is not duplicated.

sorry for bad english.


Replies (1)

RE: create a pdf from two pdf - Added by Andrei Bintintan over 10 years ago

//Initialize the table class, 3 columns
$oTable->initialize(array(40, 50, 30));

The initialize function resets the table.
From your description I'm not sure that that is the real problem, but give it a try.

PS: your English is good :)

    (1-1/1)