I have textarea
and would like to save the line breaks made by the user in the database. For example , the user writes the following:
"Lorem Ipsum.
Is simply.
Dummy text.
Of the printing.
And typesetting."
But in the database, it is saved as:
"Lorem Ipsum. Is simply. Dummy text. Of the printing. And typesetting."
I would like it to be written with the line breaks made in textarea.
How can I do this using PHP
?