problem with enable_query_strings and form_open |
[eluser]bigmike7801[/eluser]
I want to be able to user query strings in this fashion. Domain.com/controller/function?param=5&otherparam=10 In my config file I have Code: $config['base_url'] = 'http://localhost:8888/test-sites/leads.com/public_html'; The problem that I am getting is that form_open is automatically adding a question mark (?) to my url. So if I say Code: echo form_open('account/login'); it spits out: http://localhost:8888/test-sites/leads.c...ount/login Notice the question mark it added right before "account". How can I fix this? Any help would be greatly appreciated!
[eluser]bigmike7801[/eluser]
Just a quick update. I set $config['enable_query_strings'] = FALSE; because I didn't realize I could still use the get strings like ?param=5&otherparam=10 to get info from even with enable_query_strings set to false so that seemed to do the trick. |
Welcome Guest, Not a member yet? Register Sign In |