php访问mysql数据时转义特殊字符的方法:可以利用mysql库函数来转义,代码为【mysql_escape_string( string $unescaped_string ) : string】。还可以利用转义函数addslashes来进行转义。
技术文章 / 下载软件趣味内容 / 专业带飞