我有一些代码如下
<?php $pageid = $_GET['pageid']; ?>
<?php $gettitlecontent = mysql_fetch_array(mysql_query("select id, title,content from pages where id = '".$pageid."'")); ?>
<h4><?php echo $gettitlecontent['title']; ?></h4>
<p><?php echo strip_tags($gettitlecontent['content']); ?></p>
打印时,我有这样的输出
<?php echo strip_tags($gettitlecontent['content']); ?>
<p><a href="../../../n/html/history.php?p_lang=english" target="_blank">With 141 elegant a</a>nd luxurious guest rooms and suites in an incomparable setting, Ree Hotel Siem Reap encapsulates the opulent yet accessible top-end accommodation that today's discerning international clientele expects. Unparalleled levels of service and unmatched facilities make Ree Hotel Siem Reap the only choice for discerning travelers looking to explore the unforgettable ancient ruins of Angkor from a refined haven of in
它显示为代码vie。我如何将这一个转换为PHP中的html视图?
预期输出
Ree Hotel Siem Reap酒店拥有141间优雅豪华的客房和套房,拥有无与伦比的环境,囊括了当今具有挑剔性的国际客户所期望的华丽而便利的高端住宿。无与伦比的服务和无与伦比的设施使Ree Hotel Siem Reap成为挑剔的旅行者的唯一选择,他们希望从一个精致的避风港中探索令人难忘的古代吴哥遗址