![]() ![]() Now you’re ready to create a new blank page in the PDF by calling FPDF’sįPDF makes it really easy to insert images in the page. SetTextColor( $textColour, $textColour, $textColour ) The library is called fpdf.php, and it’s inside the fpdf folder that you extracted earlier: The first thing to do is include the FPDF library so that you can use it. ![]() Create a file called report.php in the same place that you saved your fpdf folder, and open the file in a text editor. Now that you’ve installed FPDF, you can start writing your PHP script to produce the PDF report. To do this, download the FPDF archive file and extract it to a folder within your website. To use FPDF, you first need to install the FPDF files on your website. If you want to try out the finished PHP script, you can grab the entire code at the end of the article.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |