php export to pdf
php export to pdf is important when you are going to develop website which required to generate bill or report. Here using this php tutorial i would like to explain how you can use fpdf to generate your own pdf file using php code. FPDF header files can be download from from http://fpdf.org/ website.
Did you know, You can Export to Excel using PHP
Sample code to add your Text and Generate PDF
<?php require('fpdf.php'); $pdf = new FPDF(); $pdf->AddPage(); $pdf->SetFont('Arial','B',16); $pdf->Cell(40,10,'Hello World!'); $pdf->Output(); ?>