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




5 comments:

  1. 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
  2. can someone tell me how convert html content in to pdf

    ReplyDelete
  3. Perfect help to get me started.. thank you

    ReplyDelete

GitHub repository using Git Bash command

  To add a project to a GitHub repository using Git Bash command line, you can follow these steps: Create a new repository on GitHub by logg...