Good Morning All,
I have a question that I touched on a couple years ago, but then determined that I didn't need, so never followed up on it.
Now I need it... (of course)
I've searched on the subject of creating PDFs in PHP, but haven't been able to locate any specific answers to what I need to do, and wondered if someone could give me some feedback (positive preferably).
I have a retail site that the customer goes through a 4 step process to define the product they want to purchase along with any options to go with it.
In the 4th step, all the data is gathered and displayed in a table that represents the Purchase Order.
What I would like to do is to capture just that table (excluding the header and footer on the page), and create a PDF to attach to an email and send to the customer.
What was mentioned in the previous request 2 years ago was using html2pdf to generate the pdf, but it appears that it generates a pdf of the entire page as opposed to a portion of the page.
Does anyone have specific experience creating a pdf from a portion of a page and attaching it to an email as I've described?
Thanks in advance for your feedback.
Douglas