CI 如何获取get请求过来的数据

http://localhost/ci_tuangou/index.php/home/index/index?gid=2

 

 

echo 'gid='. $this->input->get('gid');

 

 

结果:gid=2

posted @ 2014-08-15 09:09  麦田守望者~  阅读(362)  评论(0编辑  收藏  举报