I want users to be able to query strings this way. Domain.com/controller/function?param=5&otherparam=10
In my configuration file I have
$config['base_url'] = 'http://localhost:8888/test-sites/domain.com/public_html';
$config['index_page'] = '';
$config['uri_protocol'] = 'PATH_INFO';
$config['enable_query_strings'] = TRUE;
The problem I'm getting is that it form_openautomatically adds a question mark (?) To my url.
So, if I say:
echo form_open('account/login');
he spits out: http://localhost:8888/test-sites/domain.com/public_html/?account/login
Pay attention to the question mark added immediately before the "account".
How can i fix this?
Any help would be greatly appreciated!
source
share