Faced a problem, I don’t know how to remove html tags ... The bottom line is that on my site you can send messages and the text of the message is written to the database, and then gets. And if you use tags like: <div> </div>
in the message, they are perceived as html tags, not text. They seem to be replaced by <
and >
I write the site in php.