Friday, January 3, 2014

PDF generation in PHP

here i am going to tell you how can we generate a PDF page using PHP
use 3 easy steps.

You are able to take print out of your data

1. first download FPDF from official site of php.

http://www.fpdf.org/en/dl.php?v=17&f=zip
 
2.put it into web Server folder.

3.connect it with php file using require. 


create-pdf.php




4 comments:

  1. My friend Suggest me this blog and I can say this is the best blog to get the basic knowledge.Thank you so much for this Selenium Training in Chennai

    ReplyDelete
  2. FPDF error: Some data has already been output, can't send PDF file

    solution please

    ReplyDelete
    Replies
    1. You can't output anything before or after the PDF is output. Not even a space.

      Delete

Related Posts Plugin for WordPress, Blogger...