在codeigniter
中,我使用get方法來搜索數據列表。如何在codeigniter的url中傳遞搜索參數
我的配置是
在config.php
$config['index_page'] = '';
的.htaccess
<IfModule mod_php5.c>
php_value max_execution_time 30000
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
我的搜索
http://localhost/store/customer/index?limit=20&search_name=&search_mobile=&search_due=
的URL結果
404頁未找到。
如何使這項工作不index.php
是指數在客戶控制器的功能?我的意思是什麼是控制器名稱和方法名稱 – rahulsm
客戶是控制器和方法是索引 –
要索引方法我想通過搜索參數 –