html - PHP - FPDF Multicell function does not make a new line -
i'm trying make newline inside multicell. i've done is:
$pdf->multicell(90,10,'test'.'\n'.'test',1,0,'c',1); according manual multicell should parse '\n' character , render newline not (it prints 2 byte string '\n' alongside actual text)
try use "\n" instead of '\n' (or php_eol predefined constant). use double quotes.
related:
Comments
Post a Comment