Form Value to URL

#6
[eluser]tokyotech[/eluser]
[quote author="mjo1337" date="1252196791"]How do i get the form values into the URL segments to start with?[/quote]

Using GET for forms is quite awkward, but if you insist:

Code:
$this->load->helper('url');
redirect(sprintf('color/search/%s/%s/%s', $size, $color, $texture ), 'refresh');


Messages In This Thread
Form Value to URL - by El Forum - 09-05-2009, 12:40 PM
Form Value to URL - by El Forum - 09-05-2009, 01:01 PM
Form Value to URL - by El Forum - 09-05-2009, 01:04 PM
Form Value to URL - by El Forum - 09-05-2009, 01:26 PM
Form Value to URL - by El Forum - 09-05-2009, 01:56 PM
Form Value to URL - by El Forum - 09-05-2009, 02:00 PM
Form Value to URL - by El Forum - 09-05-2009, 02:06 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.