problem with form_open |
[eluser]henry178[/eluser]
Hi! I have this easy controller: Code: class signup_login extends CI_Controller { this is the view: Code: <h1>Signup</h1> When i click the submit button.. this is the url: www.site.com/?signup_login and loading the default_controller index..... Why it doesn't work?
[eluser]osci[/eluser]
I believe this is htaccess problem. Can you post your .htaccess?
[eluser]henry178[/eluser]
The problem that I am getting is that form_open is automatically adding a question mark (?) to my url. in my config.php file: $config['enable_query_strings'] = TRUE;
[eluser]henry178[/eluser]
[quote author="osci" date="1308517176"]I believe this is htaccess problem. Can you post your .htaccess?[/quote] this is my code: Code: <IfModule mod_rewrite.c>
[eluser]osci[/eluser]
Do you want your url to be like example.com?who=me&what=something&where=here If not disable enable_query_strings. you can always have allow_get_array to TRUE if you need the $_GET array If that's the case you could remove ? from your rewrite rules
[eluser]henry178[/eluser]
[quote author="osci" date="1308519048"]Do you want your url to be like example.com?who=me&what=something&where=here If not disable enable_query_strings. you can always have allow_get_array to TRUE if you need the $_GET array If that's the case you could remove ? from your rewrite rules[/quote] Ok! Thanks for you suggest ![]() |
Welcome Guest, Not a member yet? Register Sign In |