I am storing the formatted text in the table which contains html tags (<br />, <strong>, etc).
If I use raw attribute in the div, it show perfectly but not in textarea. How I can display the formatted content in the textarea?
abhi10kumar
0
Junior Poster
Recommended Answers
Jump to PostI think the below example will help.
$text = "How I can display \"content\" in the <b>textarea</b>? "; echo $output = html_entity_decode($text);
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.