Home > Article > CMS Tutorial > How to paginate the phpcms list page
How to paginate the phpcms list page
Page the phpcms list page. Different versions use different implementation methods. The specific implementation is as follows:
1. phpcms2008 version implements list page paging
Related recommendations: phpcms tutorial
{get sql="select * from phpcms_content where catid=1 and status=99 order by updatetime desc" rows="10" page="$page"} ..... {/get}
2. The phpcms v9 version implements list page paging
{$pages} V9 {pc:content action="lists" catid="2" order="id DESC" num="4" page="$page" } {/pc} {$pages}
For more website construction video tutorials, you can follow the PHP Chinese website!
The above is the detailed content of How to paginate the phpcms list page. For more information, please follow other related articles on the PHP Chinese website!