$num = ($page-1)*10;
//编写sql获取分页书数据 SELECT * FROM 表名 起始位置,每页条数
$sql = "SELECT * FROM `title` LIMIT {$num},{$pageSize}";
上面不报错,按老师说的就报错
//编写sql获取分页书数据 SELECT * FROM 表名 起始位置,每页条数
$sql = "SELECT * FROM `title` LIMIT {$num},{$pageSize}";
上面不报错,按老师说的就报错
2015-07-24
$num = ($page-1)*10;
//编写sql获取分页书数据 SELECT * FROM 表名 起始位置,每页条数
$sql = "SELECT * FROM `title` LIMIT {$num},10";
//编写sql获取分页书数据 SELECT * FROM 表名 起始位置,每页条数
$sql = "SELECT * FROM `title` LIMIT {$num},10";
2015-07-24