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 offile_get_contents
may be theinclude
.– William Novak
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.
– Rico Gaucho