我在 CodeIgniter 中使用了分页。
这是我在本地主机地址栏中的链接
PicTraveller/branches/1.0.1/Implementation/index.php/home
当我单击下一步时,将显示接下来的 5 条记录。在我点击下一步后:
PicTraveller/branches/1.0.1/Implementation/index.php/home/5
然后我必须在路由文件中为此编写:
$route['home/(:any)']= 'home/$1';
但这行不通。请给我建议。提前致谢