Answer the question
In order to leave comments, you need to log in
How to store line breaks?
Hello! Any advice on the best way to store line breaks in the database? First, replace \n with <br>
and store in the database already <br>
or store as sent in the form, and then insert the tag <br>
instead of \n when generating the page
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question