Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Enough, all is well. By the way, PDO can do it too.
htmlspecialchars should only be used when outputting data to the browser, when it may contain content sent by the user (untrusted content), or in other cases when you need to escape the output.
I always make my own regex filter for peace of mind: you never know?!
and I filter all data through filter_var() FILTER_SANITIZE_NUMBER_INT or FILTER_SANITIZE_STRING.It is pointless.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question