-1

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???

1
  • 1
    You should provide some code of what you tried for us to be able to help you Commented Jul 6, 2015 at 7:23

2 Answers 2

3

You can use any of the below php scripts to generate dynamic PDF documents

  1. FPDF
  2. TCPDF
  3. MPDF
  4. DOMPDF

I have answered it by searching multiple previous stackoverflow answers. You can see them here Link1, Link2,..

Sign up to request clarification or add additional context in comments.

Comments

1

You can use tcpdf http://www.tcpdf.org/ for this check the examples here http://www.tcpdf.org/examples.php . All the features required by you are available in this library

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.