做公司网站需要准备什么/代运营公司是怎么运营的
htmlspecialchars_decode —— htmlspecialchars()函数的反函数,将HTML实体转换为字符
htmlspecialchars —— 将字符串中一些字符转换为HTML实体
html_entity_decode —— htmlentities ()函数的反函数,将HTML实体转换为字符
htmlentities —— 将字符串中一些字符转换为HTML实体
插入前,要转义地
if (!get_magic_quotes_gpc()) {
$content = addslashes($content);
//title等等
}
StriptSlashes