I'm having trouble getting a variable to show inside a cell with text.
Code: Select all
//tried this which doesn't work
$pdf->Cell(0,0,'Quote Number: '.$number.'',0,0,'C');
//this works but i have to set a - value to move the number to the right location
$pdf->Cell(0,0,'Quote Number: ',0,0,'C');
$pdf->Cell(-140,0,$number,0,0,'C');If anyone has experience of using fpdf, help would be great.