textarea disable enter new line 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);