How to Generate PDF from Mysql Database using PHP

Generate PDF from mysql database

In this post I will explain you How to Generate PDF from Mysql Database using PHP. To Generate PDF file with mysql data content and output, we will use popular php library FPDF which will help us to generate PDF file. What is FPDF ? FPDF is a PHP class library which allow us to generate PDF file using PHP. In FPDF, ‘F’ stands for Free. So We can say FPDF  means Free PDF . It is Open Source library. You may use it  and modify for any kind of usage to…

Read More

How to Embed PDF file into the HTML Web Pages

When we want to embed a pdf document in the html web pages, we take help of a hyperlink to make a linkage of PDF documents to show them in the browser. The easiest way to display a PDF file is to use HTML anchor link. What if you want to display a PDF document on the web page? If it is really so, then PDF files needs to be embedded in HTML. A tag <embed> is the most suitable option to embed the PDF document on the web page.…

Read More