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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -