I want to print mysql database value in tabular format in PDF using php and I want to include header and footer as well on every page of PDF. The problem I face is every last row of the table in PDF is breaks and displays into two parts and the footer is display on another page. So is there any way to stop breaking of a table row which is just above the footer division and print it on another page???
My another question is if I want to give more than one page size in pdf then how can I do it???