Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hey all. I've got a textarea on

Status
Not open for further replies.

anyideas

Programmer
May 2, 2002
127
GB
hey all.

I've got a textarea on an asp page, it's contents get saved to an sql 7 table.

In another asp page the contents get displayed (uses xml & xsl to render).

If I enter "abc" on the same line then it all works fine. However, if in the textarea i write:

a
b
c

(pressing enter after each character)
in sql it gets stored as:

a
b
c

but gets displays as "a b c" in the asp.

Tried doing a replace(db contents, vbcrlf, &quot;<br>&quot; and it displayed &quot;a <br> b <br> c&quot;

Has anyone got any ideas how to get around it?

Cheers

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top