tau9
10-02-2009, 09:33 PM
hi
Does anyone know how to write to a cell in fpdf?
<?php
require('fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$stringData = $_POST["hour"];
$pdf->Cell(60,10, what goes in here to write the hour);
$pdf->Output('test.pdf','D');
tried
$pdf->Cell(60,10,<?php echo $_POST['hour'];);
but doesn't seem to work.
Any ideas?
Does anyone know how to write to a cell in fpdf?
<?php
require('fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$stringData = $_POST["hour"];
$pdf->Cell(60,10, what goes in here to write the hour);
$pdf->Output('test.pdf','D');
tried
$pdf->Cell(60,10,<?php echo $_POST['hour'];);
but doesn't seem to work.
Any ideas?