I\'m generating some PDF file on the fly using PHP. My problem is I need to insert line breaks in some part of the text that will be inserted in the PDF file. Something like
I have simply replaced the "\n" with "" tag. Worked fine. It seems TCPDF render the text as HTML
\n
$strText = str_replace("\n","",$strText); $pdf->MultiCell($width, $height,$strText, 0, 'J', 0, 1, '', '', true, null, true);