Php 所见即所得前端显示为HTML

Php 所见即所得前端显示为HTML,php,html,wysiwyg,Php,Html,Wysiwyg,我有一个HTML WYSIWYG,它是使用 “页面描述”=>htmlspecialchars($this->input->post('content') 当我在前端观看时,我得到 如何将其解码,使其显示为HTML?在PHP中,与htmlspecialchars/htmlentities相反的函数是。在PHP中,与htmlspecialchars/htmlentities相反的函数是。删除htmlspecialcharsbit。这是转换删除htmlspecialchars位。这就是转换 'page

我有一个HTML WYSIWYG,它是使用

“页面描述”=>htmlspecialchars($this->input->post('content')

当我在前端观看时,我得到


如何将其解码,使其显示为HTML?

在PHP中,与
htmlspecialchars
/
htmlentities
相反的函数是。

在PHP中,与
htmlspecialchars
/
htmlentities
相反的函数是。

删除
htmlspecialchars
bit。这是转换
删除
htmlspecialchars
位。这就是转换

'page_description' => $this->input->post('content');
The translations performed are:

'&' (ampersand) becomes '&'
'"' (double quote) becomes '"' when ENT_NOQUOTES is not set.
"'" (single quote) becomes ''' (or ') only when ENT_QUOTES is set.
'<' (less than) becomes '&lt;'
'>' (greater than) becomes '&gt;'