我在CI视图文件中使用以下表单:
<form name = "transaction_search" action="" method="GET">
<input name="first" type="text" value="First"/>
<input name="second" type="text" value="Second"/>
<input name="submit" type="submit" value="Submit"/>
</form>
但是当我按下提交按钮时,它既不会更改URL,也不会将值传递给该函数。
我的配置如下:
$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
$config['directory_trigger']= 'd'; // experimental not currently in use
我对URI段感到满意。唯一的目的是如果我搜索某些内容,那应该在URL中。我该怎么做呢
编辑:
它代替URI段显示查询字符串本身。但我不想要它。
两件事:
我正在使用HMVC扩展
使用名为AceAdmin和jqgrid的第三方模板。