php页面:
$img=M(‘Img‘)->where(‘id=19‘)->find();
$contact=html_entity_decode($img[‘info‘]);
$this->assign(‘contact‘,$contact);
html页面:
<div class="footer">
{pigcms:$contact}
</div>
原文:http://www.cnblogs.com/lvchenfeng/p/5084276.html