数据库中的html代码如何替换显示
我用ckeditor将数据保存到数据库中,但在读出的时候网页上显示:
喂,哈罗
没有自动转换成网页文字及样式,而我只想显示你转换后的网页,不上是述全字符串。需如何转换?用什么函数?
谢谢!
------解决方案--------------------
html_entity_decode
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn