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

mac2022-06-30  111

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

 

 

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

 

 

结果:gid=2

转载于:https://www.cnblogs.com/hgj123/p/3913917.html

最新回复(0)