官方定义:addslashes() 函数返回在预定义字符之前添加反斜杠的字符串。
For example:
$var='"hubei" is my hometown.';
echo addslashes($var);
output:\"hubei\" is my hometown.
官方定义:addslashes() 函数返回在预定义字符之前添加反斜杠的字符串。
For example:
$var='"hubei" is my hometown.';
echo addslashes($var);
output:\"hubei\" is my hometown.