michelledebeer
Programmer
I have a text-area and when you submit it, the \n (enter) should be replaced with a <br>. How do I do this?
Example:
TEXT:
Text with some
enters that should be replaced
by "<br>"
REPLACED TEXT:
Text with some<br>enters that should be replaced<br>by "<br>"
Example:
TEXT:
Text with some
enters that should be replaced
by "<br>"
REPLACED TEXT:
Text with some<br>enters that should be replaced<br>by "<br>"