09-21-2017, 09:53 PM
That is to prevent SQL injection attacks on the database where users upload javascript and things like that to the database.
What happens if you echo that text back out? It should come out properly, right?
What happens if you echo that text back out? It should come out properly, right?