I have a following string into database "<b>Hello</b>" I know how to fetch records but while i want to print it in bold (depend on which html tag is there). Is there any function to do that in php?
Just print it. It will be in blod because the data you will fetch will be "<b>Hello</b>" for printing use Print or echo
// css style #textareaname { font-weight: bold; } // php echo "<textarea id='textareaname'>Hello</textarea>"; Code (markup):