phpcms {pc:get sql="select * from phpcms_page where catid=2" num="1"} {loop $data $v} {var_dump($v)} {/loop} {/pc}