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 changed '\n' for chr(10) and it worked:
'\n'
$pdf->MultiCell(0,5,utf8_decode($variable1 . chr(10) . $variable2),1);