Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] $this->db->insert() adds all global fields from controller
#3

[eluser]yarinb[/eluser]
I have them in the controller not in the model.
I insert to the database a $user object which holds only the fields which ARE in the user table.

Why does CI takes any local variables from the controller and assigns them to another class (the model)?


Messages In This Thread
[SOLVED] $this->db->insert() adds all global fields from controller - by El Forum - 07-14-2008, 06:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB