
php
zhangfortune
这个作者很懒,什么都没留下…
展开
-
nginx下thinkphp配置文件
server { listen 80 ; listen [::]:80; server_name localhost root document_root; fastcgi_intercept_errors on; location / { index index.php index.html i...原创 2016-06-02 17:20:54 · 156 阅读 · 0 评论 -
Thinkphp使用分页
use Think\Page; $pageCount = I('get.size',20); //每页20条 $condition = array(); $count = $model->where($condition)->count(); $Page = new Page($count, $pageCount); $show = $Page->show()...原创 2016-06-08 19:16:12 · 127 阅读 · 0 评论