What does FILTER_SANITIZE_STRING do?
According to PHP Manual: Strip tags, optionally strip or encode special characters. According to W3Schools: The FILTER_SANITIZE_STRING filter strips or encodes unwanted characters. This filter removes data that is potentially harmful for your application. It is used to strip tags and remove or encode unwanted characters. Now, that doesn’t tell us much. Let’s go see … Read more