pojawila mi sie wartosc pobrana z bazy Mysql.
Nie wiem zadeklarowac po $pdf->Cell(200,200,' zeby zadzialala deklaracja $wywiad.
<?php require('fpdf.php'); class PDF extends FPDF { //Page header { //Logo $this->Image('dyplom.jpg',0,0); //Arial bold 15 $this->SetFont('Arial','B',15); //Move to the right $this->Cell(80); //Title $this->Cell(30,10,'',0,0,'c'); //Line break $this->Ln(20); } //Page footer function Footer() { //Position at 1.5 cm from bottom $this->SetY(-15); //Arial italic 8 $this->SetFont('Arial','I',8); //Page number $this->Cell(0,10,'',0,1,'C'); } } $pdf=new PDF(); $pdf->AliasNbPages(); $pdf->AddPage(); $pdf->AddFont('timesbdpl','','timesbdpl.php'); $pdf->SetFont('timesbdpl', '', 24); $pdf->Cell(200,200,'$wywiad RAMZES Henryk',0,0,'C'); $pdf->Cell(200,210,'.',0,0,'C'); $pdf->Cell(100,120,'',0,1,'C'); $pdf->Cell(190,10,'4',0,1,'C'); $pdf->SetFont('Times','B',24); $pdf->Cell(190,24,'M-20',0,1,'C'); $pdf->SetFont('Times','B',24); $pdf->Cell(190,10,'0:29:44',0,1,'C'); $pdf->Output(); ?>
Prosze o pomoc.