I am new to fpdf cell and multicell and need help with my code. Below is the code I wrote:
$pdf->Cell(60, 6, 'MAILING ADDRESS', 'L,R', 0); $pdf->Multicell(65, 5, $puchaser1[0]["address"], 1); $pdf->Cell(60, 11, $puchaser2[0]["address"], 1); $pdf->Cell(60, 8, 'PHONE NUMBER', 1, 0); $pdf->Cell(65, 8, $puchaser1[0]["contact_no"], 1, 0); $pdf->Cell(65, 8, $puchaser2[0]["contact_no"], 1, 1);
I want it to look like this:
I strongly recommend using more variables. Your code might look like this:
However, this cannot solve your problem. You're going to have a bad time because you need:
All other borders should be specifically "L", "R", or "LR". You have to draw the top border, bottom (sometimes L or R) border with a rectangle.
There is a lot of code, so if you have such code, I will help you further :)