|  | 
 
| 本帖最后由 x171306523c 于 2012-7-18 14:48 编辑 
 正常情况下http://localhost/index.php/s/wd/10
 使用$this->uri->segment(3);即可去得URL的第三段的值10
 
 但是我的URL是用get表单获得的,有参数
 http://localhost/index.php/s/wd/?wd=Wave+Pad+Audio+Editor+mp3/10
 使用$this->uri->segment(4);的值为空
 使用$this->uri->segment(3);的值也为空
 使用$this->uri->segment(2);的值为wd
 使用$this->uri->segment(1);的值为s
 
 我要做分页,得获得分页的页数
 
 | 
 |