Results 1 to 9 of 9
Oct 28, 2009, 06:20 #1
- Join Date
- Jan 2008
- Palm Harbor, FL
- 0 Post(s)
- 0 Thread(s)
MySQL strings suddenly being stored with escape slashes
I can't seem to figure out why, but suddenly MySQL strings are being stored with their 'escape' backslashes. My scripting language is PHP, and yes, magic_quotes are turned off.
My scripts, which use the 'mysql_real_escape_string' function, are not working as they should.
'mysql_real_escape_string("can't")' is now suddenly stored in the database as "can\'t".
Does anyone know why this might have suddenly started happening... or, more importantly... does anyone have any ideas on how to fix it?