首页
开发手册
应用中心
工具
用户中心
DBO Application:Pagination Method
English
中文简体
English
上一篇
下一篇
### DBO Application:Pagination Method DBO paging is generally used with multiple queries in the database. Through paging, data with a large amount of data is split to reduce load and improve response speed. #### Use limit() for data paging ```php $table['a'],'where'=>"id in (1,2,3)",'order'=>'id DESC','type'=>"sql")); //execute database statement $data_info = limit($sql,1);//execute sql statement, 1 piece of data is 1 page $pages = pages($data_info['info']);//output pagination style //close the database $db->close(); ?> ```