在微应用程序中插入某篇文章的内容

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>

原文地址:https://www.cnblogs.com/lvchenfeng/p/5084276.html