I have a database system set up to store and output pages and posts in my CMS, however I am getting this returned from the database:
<p>&lt;iframe width="854" height="480" src="https://www.youtube.com/embed/PMf6PjVXRtc" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;</p>
At this point I have removed all encoding - it's just a straight CakePHP ->Save, and this appears to be the result of CakePHP's data sanitization.
$this->save(
array(
'contentBody' => $data["contentBody"]
),
false
);
On the output side, what can I do to properly display this encoded HTML? The output may include regular echo or print, as well as a TinyMCE textarea.