add <br />to end of textarea line
I'm making a comment system & I need to replace the end of a line in a <textarea> with <br />.
I've tried the nl2br(), but it didn't work, & I tried using a str_replace (the str_replace was probably wrong though).
both ways turn out with an rn instead of a line break.
Where I want it to display as:
It comes out as "TestrnrnTest".
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread