http://www.gaojinbo.com/php5-4-magic_quotes_gpc.html进:htmlentities() mysql_real_escape_string 真正进入数据库的时候是去掉了添加的slashes的取: 直接取