Loading... phpcms v9万能标签pc:get分页实例 动态页调用方法: {pc:get sql="SELECT * FROM phpcms_news WHERE catid='6' status=99 ORDER BY id DESC" return="data" num="10" page="$_GET[page]"}{loop $data $r} {$r['title']} {/loop}{/pc} {$pages} 静态页调用方法: {pc:get sql="SELECT * FROM phpcms_news WHERE catid='6' status=99 ORDER BY id DESC" return="data" num="10" page="$page"}{loop $data $r} {$r['title']} {/loop}{/pc} {$pages} Last modification:September 21, 2022 © Allow specification reprint Like 如果觉得我的文章对你有用,请随意赞赏