Solved

Store HTML characters in the database - for example <B>

Posted on 2004-10-08
4
207 Views
Last Modified: 2008-03-17
Hello,

I have a form on an ASP Web page that allows a user to save their stories, articles, etc...so large amount of text.  I am storing this in an nText field.  Is it at all possible to allow a user to format the text when they type it in a textarea on a form?  For example, could they bold, unerline, <LI>, etc. etc.?  If so, how could I implement this?

Thanks in advance.
0
Comment
Question by:rudyflyer
  • 2
4 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 12264684
If I'm understanding your question, that's fine.  I've done that with no problem.
0
 
LVL 50

Accepted Solution

by:
Ryan Chong earned 150 total points
ID: 12264739
You may need a HTML editor to assist you to edit your html content, like:

HTMLArea, for more info see:
http://www.interactivetools.com/products/htmlarea/
0
 
LVL 15

Expert Comment

by:gladxml
ID: 12264996
rudyflyer,

I am not sure if this will help. You can put the values inside the pre tag so that you can still see the original formatting when the values are being displayed on the page.

try

http://www.devguru.com/Technologies/html/quickref/html_pre.html
0
 
LVL 15

Expert Comment

by:gladxml
ID: 12265000
ANother link regrading pre tag

http://www.w3schools.com/tags/tag_pre.asp
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question