2018年6月21日

PHP如何在页面中原样输出HTML代码

摘要: 字符串与HTML之间的相互转换主要应用htmlentities()函数来完成。 [php] view plain copy header("Content-Type: text/html; charset=utf-8"); $str="<a href=\"www.107lab.com\">107网站 阅读全文

posted @ 2018-06-21 18:05 andydaopeng 阅读(382) 评论(0) 推荐(0) 编辑

导航