so I'm trying to get a HTML table with dynamic php echo's to print to PDF. However I have two different div's that I want to print in the same PDF.
I've tried multiple answers from similar questions on stack overflow including:
- jspdf
- tcpdf
- Zend_pdf
- Several PDF printers
- FPDF
I've also Tried answers listed here:
The solution which works the best so far is the one given here:
The Problem that i'm facing is that I can generate a PDF if I only want a general HTML table, however it doesn't allow me to add in the php information, which is what I need for the PDF. Also if i try adding both div's, even without any PHP, then the report doesn't generate.
Any advice on where I can try start would be greatly appreciated. If you want to see code, I can provide a redacted version tomorrow, however for general advice I don't see why it would be necessary.