Y
Hacker News
new
|
ask
|
show
|
jobs
by
brokenparser
4761 days ago
Surprisingly, no one mentioned that mysql_real_escape_string still fails to properly escape a string when the character set has been changed using a SET NAMES or SET CHARACTER SET query. Never mind the big yellow warning sign in the manual.
The search goes like this:
https://github.com/search?q=mysql_query+%22SET+NAMES%22+mysq...