时间:2021-07-01 10:21:17 帮助过:34人阅读
update table set A = replace(A,'\\,.','你要替换的值') where ...
update table set A = replace(A,'\\','')
update table set A = replace(A,'\\','')是正确的
$sql = "update table set A = replace(A,'\\\\','')";
$sqlstr = "update b set url=replace(url,'\\\\','')";
mysql_query($sqlstr) or die(mysql_error());