new line in FPDF
<p>I am using PDO for connection database. this is output from my code:
<a href="https://i.stack.imgur.com/g2A7T.png" rel="nofollow"><img src="https://i.stack.imgur.com/g2A7T.png" alt="enter image description here"></a></p>

<p>I want all cell same line, not change line. i try search in my code to delete if any code with ln(). but not find it. i don't know why it not show beside.</p>

<p>this is my code:</p>

<pre><code>$stmt-&gt;execute(array('idFotoJaminan'=&gt;$idFotoJaminan));
$result = $stmt-&gt;fetchALL(PDO::FETCH_ASSOC);


//$pdf-&gt;Cell(40,10,'LAMPIRAN FOTO\nJAMINAN',1,1,'C');
$pdf-&gt;Multicell(40,4,"LAMPIRAN FOTO\nJAMINAN",1,"C");

foreach($result as $row) {
$pdf-&gt;Multicell(80,4,'Debitur : '. $row['debitur'],1); 
//$pdf-&gt;Ln();
//$pdf-&gt;Cell(0,5,'L NAME:', $row['lname']);
$pdf-&gt;Cell(0,5,'L NAME:'. $row['debitur'], 0, 0, 'L'); 
//$pdf-&gt;Ln();
}
$pdf-&gt;Output();
</code></pre>