Link to home
Start Free TrialLog in
Avatar of Sandy Sailer
Sandy SailerFlag for United States of America

asked on

Convert PHP report to PDF for online printing

I want to take a dynamic summary report, which has been created in PHP, and output it as a PDF.  What is the best way to achieve this?  User-friendly, ideally.
ASKER CERTIFIED SOLUTION
Avatar of g105b
g105b
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sandy Sailer

ASKER

Where, in this string of code, would I put my dynamic content?  I'm assuming I would be the recordset query at the top of the page?  Thanks.
You can use the PDF_show or PDF_continue_text functions to output content just like an echo does. There are plenty of examples in the php docs on http://php.net/manual/en/book.pdf.php