mysql preserve backslashes on select query -


i have mysql database , value in column of table string "{1,1,{1\,1\,1\,}}". when use select query returns "{1,1,{1,1,1,}}", there anyway preserve slashes so, if echo result, "{1,1,{1\,1\,1\,}}" thanks

add statement in session :

 set session sql_mode='no_backslash_escapes'; 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -