Can you explain that to me? What is going to be replaced? nl2br() replaces newline characters with <br>. If he's trying to PUT a nl/cr into a textarea, what are you suggesting nl2br() will replace with <br>'s?
I assume he's looking to do something like this:
<textarea>This is a \r\ntest.</textarea>
To get the following:
Code:
This is a
test
What would the parameters for nl2br() be?
--
How can you be in two places at once when you're not anywhere at all?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.