I am running a simple example like this :
<?php require('fpdf/fpdf.php');
$pdf = new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>
the output which was expected as like a pdf page with a text of Hello World Written in it...but I got no pdf ..there is no error generation neither in the page nor in the console.the page came blank that's not pdf file..So how to fix this..?
You should add file name;
$pdf->Output("myPdfFile.pdf", "F");