I am wanting to show text from a mysql table in a textarea. And in this text area html code will need to be displayed. But right now it only shows it as <a href= Code (markup): is there anyway I can allow HTML to be displayed in a text area?
Use htmlspecialchars() with ENT_QUOTES parameter. e.g. echo htmlspecialchars($text, ENT_QUOTES); Code (markup):
maybe I wasnt too clear in what I was asking for example I want a <h1> tag to actually make the text bigger. I want the <b> to actually make the text bold
nevermind all!! I found the problem I had to go through 30k lines of code and comment out the last 2 lines of: case ccsLabel: $value=$this->GetText(); if (!$this->HTML) { $value = CCToHTML($value); $value = str_replace("\n", "<BR>", $value); thanks all for your help, this has been a learning experience for me =)