1
嗨,我使用tinyMCE編輯器,並從數據庫檢索內容時出現問題。Youtube iframe解碼爲htmlentities
每當我鍵入此
Lorem ipsum dolor sit amet dolor amet sit dolor ipsum.
[youtube_video_here]
它成功地保存到數據庫中。然而,當我試圖從數據庫顯示它,而不是印刷下面的代碼
<iframe ....the rest of the code
它打印
>iframe ...the rest of the code <>/iframe>
奇怪的是它打印其他HTML標籤如
<br/> or <p>
正常。
我在CodeIgniter中使用PHP來檢索內容。
有沒有人有任何想法?
在閱讀了關於選項#1的更多信息之後,它可以正常工作。 Thx很多....最後一個選項非常明顯... :) – Jeremy