How to preserve line breaks in posts

When saving typed input from a textarea to database,
i know the nl2br function can be used to ‘save’ the line
breaks, but when a user copies and pastes the text, how
do we make sure the line breaks are preserved.


MySQL TEXT field should keep the formatting as it is when the data is submitted.

Ok. Thanks, will try that out.