I searched googled and found this question very common, but I can not find the correct and direct answer. I am using FPDF and I want to generate tables using MultiCell (), since I need a line break property. Tried Cell (), but it cannot read line breaks.
$col1="PILOT REMARKS\n\n";
$pdf->MultiCell(189, 10, $col1, 1, 1);
$col2="Pilot Name and Signature\n".$name;
$pdf->MultiCell(63, 10, $col2, 1);
$pdf->Ln(0);
$col3="Date Prepared\n".$date;
$pdf->MultiCell(63, 10, $col3, 1);
But I cannot generate it properly, because MultiCell () summarizes the result. How can I get MultiCell () to print adjacent to each other in the simplest and easiest way?
Found this similar question , but it does not give a clear answer. Any help would be appreciated. Thanks in advance.
source
share