using a textarea
Posted on 1998-10-12
Ok, this is really easy, but for some reason its just not working for me. I have a textbox and i want to take any enters (newlines) out of it. I want to store it in one line, not have multiple lines. I tried putting the textarea into an variable ($texarea) and then doing $texarea =~ s/\n//g; but this didn't work...Is this wrong? Its really bugging me, any suggestions or answers would be greatly appreaciated, Thanks.