{pc:get sql="SELECT * FROM v9_page where catid=17"}
{loop $data $val}
{$val[title]}
{str_cut(strip_tags($val[content]),400,"")}
{loop $data $val}
{$val[title]}
{str_cut(strip_tags($val[content]),400,"")}
......
{/loop}
{/pc}
用get方法可以实现这个问题,
注释:
select*from v9_page where catid=17 v9 数据表前缀 catid 这是单页的id