Support » Fixing WordPress » Textarea without br tags plz…

  • Hi!
    In one of my posts I am making a form that generates a few rows of text in a session.
    Then it echos out the set session in a textarea so people can copy it.
    The problem is that people can generate multiple times and get multiple rows of code and I then do linebreaks with \n so the generated stuff ends up on different rows.
    The problem is that when the session is echoed out in the textarea all my newlines are replaced with a br tag.
    I don’t want a br tag at the end of every line in my textarea.

    Anyone know how to fix this problem…?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Textarea without br tags plz…’ is closed to new replies.