Multi-lines sent from html is not writing in pdf using fpdf

76 Views Asked by At

I have textarea field in html which stores address information with multi lines (enter key pressed). I am sending that to a PHP file which then, the PHP file creates a PDF file using fpdf.php. Everything is fine except the addresses are printed in a single line in PDF file... Please help me.

1

There are 1 best solutions below

0
On

Found the answer after lots of search and R&D... you have to use write method in fpdf to solve this.. Thanks for time friends