基本信息
源码名称:php thinkphp实现瀑布流 效果
源码大小:1.76M
文件格式:.zip
开发语言:PHP
更新时间:2016-12-14
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 1 元×
微信扫码支付:1 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
首先新建waterful数据库,然后在该数据库执行 waterful.sql 脚本,之后修改 application/common/conf/config.php 中的数据库配置信息,然后 浏览index.php 即可
首先新建waterful数据库,然后在该数据库执行 waterful.sql 脚本,之后修改 application/common/conf/config.php 中的数据库配置信息,然后 浏览index.php 即可
<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
public function index(){
$this->count=M('Product')->count();
$this->display();
}
function getxia(){
//下拉的时候的条件
if($_GET['nextrow']){
$pagestart=$_GET['nextrow'];
}else{
$pagestart=0;
}
$pagerows=$_GET['firstrow'];
$data=M('Product')->limit($pagestart,$pagerows)->select();
echo json_encode( $data );
}
}