FPDF - WriteHTML in Multicell?

前端 未结 6 1149
情书的邮戳
情书的邮戳 2021-01-03 13:12

Can WriteHTML placed in Multicell? How?

I retrieved and display the HTML output from database but want to position it in the 2nd column(let\'s say) so I put it in Mu

6条回答
  •  星月不相逢
    2021-01-03 13:37

    Can WriteHTML placed in Multicell? How?
    

    NO.. WriteHTML outputs the data to the pdf file.It returns nothing. But MultiCell function expects a string.

    So you can try this. Modify the WriteHTML function to stop outputting the data and copy the data into a variable. Then use MultiCell to output that variable

    Hope this helps out.:-)

提交回复
热议问题