I wanted to disable HTML in a div simply because I want just a plain text to be shown inside a div.
If you retrieve a data from the DB and it's value is <b> Good! </b>
which is equivalent to Good! in HTML. Now what I want is that, I wanted to show the word <b> Good! </b>
(without html style) and not the Good! (with html style). Any method would do, whether through javascript or jquery as long as it plays the same role.
Example:
$value = "`<b> Good </b>`";
<div id = "true"><?php $value; ?></div>
And the div would simply have an output like this: <b> Good </b>
How could I do that? Any help would be much appreciated. Thanks