So that I can change string lik开发者_开发技巧e I\'ll go
back to I'll go
stripslashes()
Un-quotes a quoted string.
ex.:
$string = "This isn't good";
$string = mysql_escape_string($string);
echo "$string";
produces: This isn\'t good
$string = stripslashes($string);
echo "$string";
produces : This isn't good
stripslashes()
No.
It's not really required:
$b=mysql_escape_string($a);
$a still contains the unescaped string.
C.
精彩评论