哈德斯
发表于 2011-12-2 10:54:23
我的链接是这样 http://www.test1.com/index.php/master/business/&per_page=6
还是没明白怎么获取到每页的数据
哈德斯
发表于 2011-12-2 11:36:16
Deprecated: Assigning the return value of new by reference is deprecated in E:\myJob\pagination\system\codeigniter\Common.php on line 85
Deprecated: Assigning the return value of new by reference is deprecated in E:\myJob\pagination\system\codeigniter\Common.php on line 91
A PHP Error was encountered
Severity: 8192
Message: Function set_magic_quotes_runtime() is deprecated
Filename: codeigniter/CodeIgniter.php
Line Number: 46
The URI you submitted has disallowed characters: books
把你的文件装好之后报这些错
xiehao
发表于 2011-12-23 10:32:21
HEX老大讲解的太细致了!狂顶老大!
^淡如清风
发表于 2012-2-21 11:00:17
这个教程很给力
justdoit
发表于 2012-2-22 13:52:17
将得太详细了,跟着做下试试。
幸福=幸福
发表于 2012-3-2 14:51:31
看完了,自己也实践了。蛮好的。{:soso_e113:}
自然
发表于 2012-3-2 18:14:47
顶个
mingsixue
发表于 2012-3-7 15:08:10
跟着楼上的脚步来的。。
yo_yo
发表于 2012-6-28 11:20:08
请问兰州,$query = $this->db->get('christian_books', $num, $offset);db中get函数是获取所有数据库字段,怎么实现查找数据库中某些字段的列表。谢谢
Hex
发表于 2012-6-28 12:16:07
yo_yo 发表于 2012-6-28 11:20 static/image/common/back.gif
请问兰州,$query = $this->db->get('christian_books', $num, $offset);db中get函数是获取所有数据库字段 ...
请先详细学习一下 CI 数据库操作
http://codeigniter.org.cn/user_guide/database/active_record.html
页:
1
2
3
4
5
6
7
8
9
10
[11]
12
13
14