Answers for "how to make line breaks in textarea"

0

textarea html break line

<textarea>This is my statement one.&#13;&#10;
This is my statement two</textarea>
Posted by: Guest on May-23-2021
0

keep line breaks in textarea

// preserve line breaks ( \n -> <br> ) 
$_translated_text = nl2br($_original_text);
Posted by: Guest on July-24-2020

Browse Popular Code Answers by Language