你可以把" 引号去掉了再进库,或者使用 stripslashes_deep()
<?php $str = "Is your name O\'reilly?"; // 输出: Is your name O'reilly? echo stripslashes($str); ?>
huangcong 2013-10-20 17:22 原文
你可以把" 引号去掉了再进库,或者使用 stripslashes_deep()
<?php $str = "Is your name O\'reilly?"; // 输出: Is your name O'reilly? echo stripslashes($str); ?>