amanyasin
Technical User
- Feb 7, 2003
- 28
Dear all,
i want to create PDF using FPDF.
<?php
require('pdf/fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>
it runs without any error but when PDF viewer(Acrobate reader) try to open, it shows an I/O error and halt.
please guide me how i can create PDF.
i want to create PDF using FPDF.
<?php
require('pdf/fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>
it runs without any error but when PDF viewer(Acrobate reader) try to open, it shows an I/O error and halt.
please guide me how i can create PDF.