![]() In the above code we have used cell to add our text to the pdf file with border, alignment, background fill and a link. ![]() String with border, alignment, background fill in PDF → $pdf->Output('my_file.pdf','I') // send to browser and display ?> Check the output to display the string in PDF →Ībove code will display the string, we can manage this output by adding border, alignment, colour, link etc. $pdf->Output('my_file.pdf','I') // Send to browser and display Run this code, you are ready with your first pdf file created from FPDF class. Installation and generating PDF document in PHP using FPDF class and showing Hello World
0 Comments
Leave a Reply. |