ASEN 发表于 2018-6-30 23:36:11

如果把 confing.php下的$config['enable_query_strings'] = TRUE;请教表单如何提交?

如果把
confing.php下的$config['enable_query_strings'] = TRUE;
提交表单的路径,总是回到首页,请问怎样解决呢?
<form action="<?php echo site_url('ctest/find_test');?>">

原URL=http://localhost/index.php?c=ctest
提交的表单,变成
http://localhost/index.php?scname=

Hex 发表于 2018-7-6 00:39:56

有没有配置 base_url ?

superxgz 发表于 2018-7-8 23:04:18

为什么不用ajax提交, 为什么还在用10多年前流行的form表单提交????
页: [1]
查看完整版本: 如果把 confing.php下的$config['enable_query_strings'] = TRUE;请教表单如何提交?