use in existing fpdf document
Added by Mark K over 10 years ago
Hello,
I just downloaded the fpdf advanced multicell package.
I do have an exisisting document, where i want to use the html tags from the database to format the text in the multicell. Looking at the code, i can't figure out how to integrate the code into an existing fpdf document.
A normal fdpf file is working with $pdf and you are working with $opdf.
How can i integrate the code in existing fdpf files?
Thanks in advance.
Replies (2)
RE: use in existing fpdf document - Added by Andrei Bintintan over 10 years ago
$pdf or $oPdf is just the variable name used in the examples.
You can take the examples and instead of $oPdf use $pdf. That is just pointing to the PDF Object.
RE: use in existing fpdf document - Added by Mark K over 10 years ago
Thanks, i tried it and it works!