How on php to prohibit the execution of code on the page, if a record is taken from the database and it contains any code (HTML, PHP, JS ...)? htmlspecialchars() does not offer functions like.
PS Like this site. Any code that was written in the question is not executed at all.
Thank.