thinkPHP page

thinkPHP built pagination

Paging is mainly to deal with too many pages of data, easy to use with View;

First you have to find the data you want to control the operation of the database and configuration data to display how many a

         

Home Code paginate (4) represent each page contains four transactions;  

You can first introduced bootstrap;

 

 

 

 

The basic pattern is:

 

 

Here the double arrow style may be changed if there are other needs to own path:

 

 Specific Configuration

 

 

 

 

 After the change of the page following effects

 

Guess you like

Origin www.cnblogs.com/gaojian910/p/11456976.html