Welcome Guest, Not a member yet? Register   Sign In
Form URI
#1

[eluser]bondjp[/eluser]
Hi, i'm trying to get my url to show something like this when the user submits a form:

http://example.com/controller/function/city/brand/model

Here's my view:
Code:
<?php
echo form_open('results');
echo form_dropdown('city', $city);
echo form_dropdown('brand', $brand);
echo form_dropdown('model', $model);
<input type="image" src="<?php echo base_url();?>images/search.png"  alt="Submit button" />
echo form_close();

How can i do it?


Messages In This Thread
Form URI - by El Forum - 02-11-2011, 08:25 AM
Form URI - by El Forum - 02-11-2011, 09:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB