PHP input 显示html 元素

使用函数 htmlspecialchars ,转换保存的html源码,前台使用转换后的变量。

 

posted @ 2016-02-26 16:50  Andy·Li  阅读(278)  评论(0编辑  收藏  举报