I am displaying data from an sql database in a textarea which will be altered by the user then re-submitted to the database.
The problem is displaying a line break. I get <br /> displayed in the textarea rather than the newline.
Can anyone help?
HelenLF
0
Junior Poster
Recommended Answers
Jump to PostThat means that the data entered into the database had a <br /> in it (and <br /> is the code for a line break). It is VERY likely that your input script is first converting the newline into a <br /> then inserting it into the databsae.
What …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.