Home  >  Article  >  Backend Development  >  YII框架GET传值,URL显示的有关问题,标题要长。

YII框架GET传值,URL显示的有关问题,标题要长。

WBOY
WBOYOriginal
2016-06-13 11:43:16851browse

YII框架GET传值,URL显示的问题,标题要长。。。。。。。。。
请教一下各位前辈,YII框架的后台URL一般是这样的/index.php?r=modules名/控制器名/方法名
现在我要是用get传值,正确的url应该是:/index.php?r=modules名/控制器名/方法名&title=2&search_sub=%CC%E1%BD%BB。但是我点击提交按钮之后url却变成了这样/index.php?title=2&search_sub=%CC%E1%BD%BB,直接跳到了前台首页面。这是什么原因呢,如何修改呢?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn