Textarea without br tags plz... (2 posts)

  1. XeroXer
    Posted 8 years ago #

    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...?

  2. manniac
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic