Is it possible to create a Pdf project using Fpdf

enter image description here I want to create Pdf in Php using FDPF. we can draw the table in fpdf. I want to create a table in an image using FPDF.Is this possible. I'm new to fpdf. Please help me. I want a table design. Thanks at Advance

+4
source share
2 answers

you must download the addon called PDF_MC_TABLE or copy it here: http://www.fpdf.de/downloads/addons/3/

$pdf = new PDF_MC_Table(); $pdf->Row(array("this\nis a test","with a multi\ncell")); $pdf->Output(); 
+1
source

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(); 
0
source

Source: https://habr.com/ru/post/1480698/


All Articles