Question: 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 

```
$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 that I am getting is that `form_open` is automatically adding a question mark (?) to my url. 

So if I say:

```
echo form_open('account/login');

```

it spits out: `http://localhost:8888/test-sites/domain.com/public_html/?account/login`

Notice the question mark it added right before "account".

How can I fix this?

Any help would be greatly appreciated!

Answer: 
Simpler might be to just set follwing in your **config.php**

```
$config['enable_query_strings'] = FALSE;

```

Was the solution in my case.
If you want to use query string in your url structure, then you should manually type your url structure in the following order: 

```
<domain.com>?c={controller}&m={function}&param1={val}&param2={val}

```

in the action of the resepective controller you should get the parameter as `$_GET['param1']`

your code now should look like this 

```
form_open(c=account&m=login&param1=val)

```

Please let me know if it doesnt work for you.