Forum Moderators: coopster
We moved our site to PHP, and for a while we had our addslash setting so that any quotes were displaying with \\\. As a result, we have a database full of text containing \\\. Is there a query we can run on our MySQL database that will eliminate these addslashes? Since the addslash is an escape character, I'm not sure how to do it.
More information can be read at: [us2.php.net...]
just don't forget to specify the region of lines to be affected in WHERE because otherwise you may remove slashes for some old data as well.
one sting that does all the replacements needed.
ps: it will remove all slashes (\). in 95% this solution is ok, just don't forget about specifying rown in WHERE