PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have an application written in PHP. The use of this application is mainly recording the companies and contacts. One feature of the application is to produce a report ( a printable report). Currently I am using html format then export it to MS Word to print the records. My problem is, every time I export a report I must adjust or change page setup before printing. Is there a way to generate report that is ready for printing without changing the page settings?
For printing purposes, I typically provide the ability to get the page content as a PDF. There are many libraries available that can create PDF files. fpdf and ezpdf are the most commonly used that I'm aware of.
I created a sample page using the fpdf you mentioned. I created a sample report using the fpdf table feature. My question is, how can I wrap the text within a table cell? Some data overlaps to the next cell.