在编程中,需要替换掉字符串的换行符再存进数据库, 语句: $str = str_replace(array('/r/n', '/r', '/n'), $str); $str = str 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交