求解!!!快疯了
我在一个页面有两个超链接,两者的区别是其中一个传一个值,另外一个不传值,进入相同的控制器方法,最后跳转的页面也一样,但传了值的最后在显示的时候,传了值的页面样式不显示,两者从头到尾不相同的就是一个传了一个值css 用绝对路径 <a href="/index/b/3/4/5/6"> 超链接 </a>
public function b(){
$type =$this->uri->segment(3); //url第三个参数
$start=$this->uri->segment(4); //url第四个参数
$end=$this->uri->segment(5); //url第五个参数
$flag =$this->uri->segment(6); //url第六个参数
}
这样传值试试 小刘 发表于 2014-5-22 10:30
超链接
public function b(){
$type =$this->uri->segment(3); ...
我就是用这种方式传值的啊
CSS路径贴出来,链接贴出来,方法贴出来 贴代码
页:
[1]