Link to home
Start Free TrialLog in
Avatar of MNCW2
MNCW2

asked on

FPDF display blank page

Hi,

     I tried to display simple script like below
<?
@require('fpdf.php');

$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>
But as result, it display blank page. I read FAQ from FPDF sites but seems not work at all. Please help.

Avatar of Roonaan
Roonaan
Flag of Netherlands image

Try removing the @ before the require and add:

error_reporting(E_ALL);

-r-
Avatar of MNCW2
MNCW2

ASKER

Still doesn't work :(
ASKER CERTIFIED SOLUTION
Avatar of Roonaan
Roonaan
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial