visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: DHTML, JScript :: evaluating HTML tags in textarea


By: amir (Asia)  Date: 09/03/2006 10:44:03  English  Points: 20 Status: Answered
Quality : Excellent
I'm trying to create a form that will browse a field in a database and allow rich text editing and updating this field.
I got the form to database part, thanks to a script from bewebmaster.com, and I need to push the HTML tagged text back into the textarea so that the tags will be evaluated and wont show: i.r., text within <B> tags will be bold, etc.
The text comes from a text field in a MYSQL via PHP.
By: VGR Date: 09/03/2006 19:58:45 English  Type : Answer
well? I also did this kind of tool, and if I remember well, it's just a matter of setting the textatera's value (between textarea and /textarea) to the retrived text from the DB...

If you only addslashes() it upon writing, you should be able to just do that.

To better help you, perhaps you could show me a data sample of what you have in your DB as HTML (alternatively, the small piece of code which writes the FORM field to the DB)

regards
By: VGR Date: 21/03/2006 08:11:49 English  Type : Comment
hello ?
By: OpConsole Date: 18/05/2006 23:28:05 English  Type : Comment
force close

Do register to be able to answer

EContact
browser fav
page generated in 423.251870 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page