Welcome Guest, Not a member yet? Register   Sign In
sending form parameters as URI Segments
#1

[eluser]Sanjabs[/eluser]
I have a form code (simplified for use):
<form name="search-institution" action="<?=base_url()?>institutions/index" method="get">
Search Text :
<input type="text" size="15" maxlength="100" name='keys'/>
<input type="submit" value="Search" name='Search2' />
</form>


When i submit the form: the uri looks like:
www.sampleweb.com/institutions/index?keys=value
but i prefer it to be like
www.sampleweb.com/institutions/index/value

I have disabled $config['enable_query_strings'] as FALSE;

But still query strings are not diabled???

Solutions please?


Messages In This Thread
sending form parameters as URI Segments - by El Forum - 06-16-2009, 04:47 AM
sending form parameters as URI Segments - by El Forum - 06-16-2009, 04:55 AM
sending form parameters as URI Segments - by El Forum - 06-16-2009, 09:19 AM
sending form parameters as URI Segments - by El Forum - 06-16-2009, 09:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB