输入banner图图片脚本导航/分类

html_entity_decode 将数据库里的 | 互联网金融 “野蛮生长” 的休止符| &rdquo转义成”“

技术分享   函数调用后 技术分享   html_entity_decode() 函数把 HTML 实体转换为字符 <?php $str = "John &amp; ‘Adams‘"; echo html_entity_decode($str); echo "<br />"; echo html_entity_decode($str, ENT_QUOTES); echo "<br />"; echo html_entity_decode($str, ENT_NOQUOTES); ?> 浏览器会输出: John & ‘Adams‘ John & ‘Adams‘ John & ‘Adams‘  

html_entity_decode 将数据库里的 | 互联网金融 &ldquo;野蛮生长&rdquo; 的休止符| &rdquo转义成”“

标签: