文本含有单双引号时,insert进mysql数据库的处理方法

addslashes() 函数返回在预定义字符之前添加反斜杠的字符串。

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>