Hi all, I have a problem on formatting my result.
String variable named "descripation" is inserted into MS-SQL by using textarea field of form, in multiple lines, and datatype is "varchar" .
I get this string from MS-SQL server by this simple SQL query:
DBConn.Open "select description from abc where id = '123'"
description = DBConn("description"
The problem comes out when I list this out. It is prefectly ok when I list it in a textarea like:
<textarea name="description" cols="50" rows="5"><%=description%></textarea>
But when I list it out in the normal html, all multiple lines comes to only one line.
What is the best way to solve this problem?
Thank you very much
Kevin
String variable named "descripation" is inserted into MS-SQL by using textarea field of form, in multiple lines, and datatype is "varchar" .
I get this string from MS-SQL server by this simple SQL query:
DBConn.Open "select description from abc where id = '123'"
description = DBConn("description"
The problem comes out when I list this out. It is prefectly ok when I list it in a textarea like:
<textarea name="description" cols="50" rows="5"><%=description%></textarea>
But when I list it out in the normal html, all multiple lines comes to only one line.
What is the best way to solve this problem?
Thank you very much
Kevin