$ _GET命令不起作用

mag*_*gus 1 php yii

我有一个问题.

echo CHtml::button('Sell It', array('submit' => array('mobile/create', array('id'=>$data->id))));
Run Code Online (Sandbox Code Playgroud)

并且在完成上述操作后,我得到了网址

http://localhost/abhimir-mobile-d28927ecb74b/index.php/mobile/create?0%5Bid%5D=1
Run Code Online (Sandbox Code Playgroud)

现在我$_GET['id']在另一个控制器的视图中使用.....我如何从一个控制器的视图传递变量到另一个控制器的视图?

Jac*_*iuk 6

create?id=1并且create?0%5Bid%5D=1不一样,尝试$_GET['0[id]']var_dump($_GET);