Welcome Guest, Not a member yet? Register   Sign In
form creation and passing variables
#1

[eluser]arcology29[/eluser]
hi everyone, first of all I've been a couple of months with CI and I love it.

never had problems though today I've been bashing my head trying to understand how to pass variables from a form with a segmented url. I have done it through POST and then using

Code:
this->input->post('myFormElementName');

to retrieve data and works fine, but now I realize I want the info on the URL and since CI discourages GET parameters I have tried to use the segmented option. But can't find anywhere how to do it. Do I have to build the segmented url myself with a helper? If this is the case where do you do it?

Basically I don't understand how to get the data from my form to my controller (passing it with segmented urls).


Messages In This Thread
form creation and passing variables - by El Forum - 09-08-2010, 08:56 PM
form creation and passing variables - by El Forum - 09-09-2010, 04:09 PM
form creation and passing variables - by El Forum - 09-10-2010, 06:43 PM
form creation and passing variables - by El Forum - 09-10-2010, 07:36 PM
form creation and passing variables - by El Forum - 09-10-2010, 09:38 PM
form creation and passing variables - by El Forum - 09-11-2010, 08:19 AM
form creation and passing variables - by El Forum - 09-11-2010, 12:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB