Import file into TCPDF

Asked

Viewed 77 times

0

I’m customizing a contract on TCPDF.

I was able to run the information on the parties, but the part of the clauses in this contract, it’s complicated.

I wanted to make the clauses in another file and then call this file to be part of the contract, like:

MultiCell(0,5, ./clausula.php, 0, 'J');

How can I do this?

  • MultiCell(0,5, file_get_contents('./clausula.php'), 0, 'J'); or instead of file_get_contents may be the include.

  • I tried using file_get_contents(), and it matters the code, tags and clauses, I want it to import only formatted clauses. I tried to use the include, but I couldn’t, sorry I’m new.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.