Guest_imported
New member
- Jan 1, 1970
- 0
I have a textarea on my site that has to be processed. I have to put the input in one line or the code will start a new thread. If people don't use "return" it works fine, but if they do, every newline creates a new thread.
I tried to work it out with =~ s/\n/<br>/g; to make it work with html. I also tried getting it out as %0A. It always ends up with getting newlines and <br>'s.
Can anybody help me?
Axeblade
I tried to work it out with =~ s/\n/<br>/g; to make it work with html. I also tried getting it out as %0A. It always ends up with getting newlines and <br>'s.
Can anybody help me?
Axeblade