Answer the question
In order to leave comments, you need to log in
How to remove html code in php?
It is necessary that the php script changes some characters, for example: < to <
> to >
So that the user cannot use html, javascript, etc.
Answer the question
In order to leave comments, you need to log in
htmlspecialchars :
php.net/manual/en/function.htmlspecialchars.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question