MySQL中执行sql语句反斜杠(尀)为何离奇消失了?

2025-05-07 00:20:14
推荐回答(1个)
回答1:

反斜杠(\ )需要进行转义。INSERT INTO `test` VALUES('321', 'document\\101\\1086.pdf', '101/1086.swf');
参考: http://phpcode8.com/lamp/mysql-lamp/mysql-escape-slash.html