I am having a problem , i would like to print out some text... in a <textarea></textarea> ... the problem is that the code is bracking... because in the textarea i will have html code, that will also include the word </textarea>
If you are working with PHP, just run the text to be displayed in the texarea through the htmlentities function. This example is from the php.net website: $orig = "I'll \"walk\" the <b>dog</b> now"; $a = htmlentities($orig); echo $a; // I'll "walk" the <b>dog</b> now PHP: