How to generate pdf file in php?

Answer Posted / chinchu

We can create pdf files in php by using PDF libraries such
as TCPDF,FPDF etc

You can find the TCPDF library here http://www.tcpdf.org/
and FPDF library here http://www.fpdf.org/

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we display the output directly to the browser?

725


What is inheritance in php?

764


How to convert strings in hex format?

748


Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?

788


How to remove blank spaces from the string?

722


What is parent __construct ();?

755


Tell me what are the correct and the most two common way to start and finish a php block of code?

727


Name some of the popular frameworks in php.

741


what is mean by portal

1694


Why namespace is used in php?

744


What is the purpose of basename() function in PHP?

782


What are the four scalar types of php?

834


What is framework in php for beginners?

718


What is in a cookie?

725


How can you pass a variable by reference?

746