1 2 3 4 5 6 7 8 9 10 11 |
<?php define('FPDF_FONTPATH','font/'); require('fpdf.php'); $mypdf=new FPDF(); $mypdf->Open(); $mypdf->AddPage(); $mypdf->SetFont('Arial','B',16); $mypdf->Cell(40,10,'Welcome to mydoubts'); $mypdf->Output(); ?> |
//for more beatiful pdf generation code contact@mydoubts.in