title: PHP/HTML table to PDF Conversion
body: <p>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.</p>
  
  <p>I've tried multiple answers from similar questions on stack overflow including:</p>
  
  <ul>
  <li>jspdf</li>
  <li>tcpdf</li>
  <li>Zend_pdf</li>
  <li>Several PDF printers</li>
  <li>FPDF</li>
  </ul>
  
  <p>I've also Tried answers listed here:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/12834641/php-html-to-pdf-conversion-proportionally">PHP HTML to PDF conversion proportionally</a></li>
  </ul>
  
  <p>The solution which works the best so far is the one given here:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/23035858/export-html-table-to-pdf-using-jspdf">Export HTML table to pdf using jspdf</a></li>
  </ul>
  
  <p>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.</p>
  
  <p>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.</p>