Welcome Guest, Not a member yet? Register   Sign In
MVC and post values
#2

[eluser]boxyee[/eluser]
You could pass the post variables as parameters when calling the function:

Code:
$this->nameofmodel->nameoffunction($variable);
then in the model:
Code:
function($variable)
{
$this->db->where ('id', $variable)
}

Hope that helps


Messages In This Thread
MVC and post values - by El Forum - 02-10-2011, 02:31 PM
MVC and post values - by El Forum - 02-10-2011, 03:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB