Jump to content

Archived

This topic is now archived and is closed to further replies.

megglz

Using TCPDF and FPDI

Recommended Posts

I am using TCPDF & FPDI together to create and merge PDF's. I create  a PDF with a link embedded in html and then merge it with another PDF. After merging, the link is only clickable if I pass in the link as

 

// Set some content to print

    $html = <<<EOD

<A HREF="http://www.helloworld.com">http://www.helloworld.com</A>

EOD;

$pdf->writeHTML($html, true, 0, true, 0);

 

It is no longer clickable if I pass in the link as

 

    $html = <<<EOD

<A HREF="http://www.helloworld.com">Visit Link</A>

EOD;

$pdf->writeHTML($html, true, 0, true, 0);

 

I would like to pass it in the above way as the actual link I'm using is very long/tedious looking.

 

Can anyone help here?

Share this post


Link to post
Share on other sites

hi everybody

I encountered the same pb.

When I use the Link option of the Cell Order, with the FPDI extend it does'nt work

thanks for your experience and/or answer.

JP

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.