Solved

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

Posted on 2004-10-08
4
205 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 49

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now