1
我有3
PDF
中的不同表格,使用TCPDF
創建,使用MultiCell
來顯示它們。他們是上述海誓山盟及其names
與writeHTML
TCPDF Multicell overlapping
$html = '<html>
<body>
<p style="line-height: 10%"><h3>CarhireInfo</h3>
</body>
</html>';
$pdf->writeHTML($html, true, false, true, false, '');
$pdf->MultiCell($w=0, $h=0, $cars, $border=0, $align='L', $fill=false, $ln=0, $x='70', $y='74', $reseth=true, $stretch=0, $ishtml=false, $autopadding=true, $maxh=0);
$pdf->MultiCell($w=0, $h=0, $drivers, $border=0, $align='L', $fill=false, $ln=0, $x='125', $y='70', $reseth=true, $stretch=0, $ishtml=false, $autopadding=true, $maxh=0);
$pdf->Ln(20);
$html = '<html>
<body>
<p style="line-height: 0"><h3>Manager/-in</h3>
</body>
</html>';
$pdf->writeHTML($html, true, false, true, false, '');
$pdf->MultiCell($w=0, $h=0, $manager, $border=0, $align='L', $fill=false, $ln=0, $x='125', $y='90', $reseth=true, $stretch=0, $ishtml=false, $autopadding=true, $maxh=0);
$pdf->Ln(20);
$html = '<html>
<body>
<p style="line-height: 0"><h3>Descriptions</h3>
</body>
</html>';
$pdf->writeHTML($html, true, false, true, false, '');
$start_y = $pdf->GetY();
$start_page = $pdf->getPage();
$pdf->MultiCell($w=0, $h=0, $descriptions, $border=0, $align='L', $fill=false, $ln=1, $x='', $y='', $reseth=true, $stretch=0, $ishtml=false, $autopadding=true, $maxh=0);
$pdf->lastPage();
$pdf->Output('CarhireInfo.pdf', 'D');
寫我positioning
的tables
與設置它們的x
& y
coordinates
。該PDF
看起來是這樣的,如果我add
例如更多驅動程序:
任何幫助,將不勝感激。
S.