B
BCS
I have a web site in which the site administrator can input
information to a database through a web form. The information then
gets displayed on ASP pages. One field is a large text field. Of
course, without html tags, the text gets displayed on the web page as
one long paragraph since the database doesn't store any line breaks or
paragraph breaks. The obvious solution (to me) is to use html tags
like <br> in the input. However, while this information gets stored
in the Access database correctly, when it gets pulled out the page
displays the actual tag on the page. In other words, it actually
converts the "<" to "<" in the html so that it displays as "<" on
the web page.
I'm more used to working with PHP where I didn't have this problem,
and I'm sure there is a simple solution, but I've scoured the web and
my ASP books and can't seem to find the answer.
information to a database through a web form. The information then
gets displayed on ASP pages. One field is a large text field. Of
course, without html tags, the text gets displayed on the web page as
one long paragraph since the database doesn't store any line breaks or
paragraph breaks. The obvious solution (to me) is to use html tags
like <br> in the input. However, while this information gets stored
in the Access database correctly, when it gets pulled out the page
displays the actual tag on the page. In other words, it actually
converts the "<" to "<" in the html so that it displays as "<" on
the web page.
I'm more used to working with PHP where I didn't have this problem,
and I'm sure there is a simple solution, but I've scoured the web and
my ASP books and can't seem to find the answer.