how to keep line break in string input code example
Example: keep line breaks in textarea
// preserve line breaks ( \n -> <br> )
$_translated_text = nl2br($_original_text);
// preserve line breaks ( \n -> <br> )
$_translated_text = nl2br($_original_text);