Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
alxtech
Yak Posting Veteran
66 Posts |
Posted - 2006-09-29 : 15:13:49
|
I have an application that saves text from a text box form to a sql database table, for later retrival.I want to include html tags into the text box form for later text formatting when display in asp pages.Currently, if I add a html tag into the text box and the retrieve that field I see exacly the same, no formatting is done. EXAMPLE:Text on text box form is:This is the text added to this <b>box</b><br> but the <b>html tags</b> do not seen to work.text display should be:This is the text added to this boxbut the html tags do not seen to work.instead text display is:This is the text added to this <b>box</b><br> but the <b>html tags</b> do not seen to work. |
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2006-09-29 : 16:02:17
|
You need to show us some code, there about 100 different ways to code up what you are describing.- Jeff |
 |
|
snSQL
Master Smack Fu Yak Hacker
1837 Posts |
Posted - 2006-09-29 : 17:36:48
|
That is almost certainly being caused by what happens to the HTML text after it comes out of the database. The text you put into the database will come out exactly the same, but when you read that text in your app and put it in a web page the app is probably replacing the < and > in the HTML tags with entities like < and > |
 |
|
|
|
|