Solved

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

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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 …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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