I want to generate a pdf file with specific user information that I have stored on a mysql database, and add to it external pdf files that are stored on the server (these external files belong to the same user ). I’ve tried doing it using TCPDF but it doesn’t have the feature of adding external pdf files to the generated file. How can I achieve this?
2
Answers
Maybe something around these lines:
I suggest you to use library
libmergepdf
you can find it online, with that plugin you can add page PDF to your original PDF, so save tcpdf in a temp folder then add pages from other PDF and save the final output like: