You can try this. This is not the right design for what you are looking for, but it will help you create a table.
require("fpdf.php"); $pdf->SetFont('Arial','B',16); $pdf->SetTextColor(192,192,192); $pdf->Cell(60,10,'Name:',1,0,'C',false,0); $pdf->Cell(130,10,'Ali',1,1,'C'); $pdf->Cell(60,10,'Subject:',1,0,'C',0); $pdf->Cell(130,10,'Maths',1,1,'C'); $pdf->Cell(60,10,'Maximum Marks:',1,0,'C',0); $pdf->Cell(130,10,100,1,1,'C'); $pdf->Cell(60,10,'Marks Obtained:',1,0,'C',0); $pdf->Cell(130,10,88,1,1,'C'); $pdf->Cell(60,10,'Percentage:',1,0,'C',0); $pdf->Cell(130,10,88,1,1,'C'); $pdf->Output();