2016-02-19 84 views
1

我想發佈YouTube評論的html鏈接,但有些我不能做那件事。它始終在註釋部分顯示html代碼。我使用PHP函數我如何在html中發佈鏈接到youtube評論

$comment = '<a href="http://shawon.in">Shawon</a>'; 
$commen = html_entity_decode($comment); 

它顯示輸出作爲$comment的HTML代碼。或者告訴我哪種內容類型可以爲此工作。

你能幫我嗎?

回答

相關問題