So this is what we all should know about, and played on the mind when I first saw it.
I know mysql_escape_string deprecated from 5.3, but what was the actual difference in mysql_real_escape_string .
I thought mysql_real_escape_string is the same as mysql_escape_string , except mysql_real_escape_string accepts the second argument for the mysql resource.
so then I thought it should be a little stupid, there should be some difference in how the lines are processed, because there would be no need for two functions.
So, I thought that the difference boils down to language and character encodings.
can anyone clarify this for me?
php escaping mysql-real-escape-string
RobertPitt Sep 08 2018-10-10T00: 00Z
source share