代码: 全选
$text= $db->fetchRow($db
->select('table.contents.text')->from('table.contents')
->where('table.contents.cid = ?', $v['cid'])
->where('table.contents.type = ?', 'post'));
//然后将$text['text']push进json对象,输出的文章内容的<p></p>标签对全部消失
这个是什么原因呢 用stack数组中的 text输出也是一样