Welcome Guest, Not a member yet? Register   Sign In
Multiple calls to model in controller fails
#4

[eluser]InsiteFX[/eluser]
Yo9u are updating your $rs record $this->Client_model->RemoveTrial($client_id);

But you are in a for each loop so the $rs doe's not contain the updated record.

You need to reload the $rs to get the updated record!

InsiteFX


Messages In This Thread
Multiple calls to model in controller fails - by El Forum - 12-04-2010, 02:18 PM
Multiple calls to model in controller fails - by El Forum - 12-04-2010, 04:04 PM
Multiple calls to model in controller fails - by El Forum - 12-04-2010, 06:49 PM
Multiple calls to model in controller fails - by El Forum - 12-06-2010, 05:19 AM
Multiple calls to model in controller fails - by El Forum - 12-06-2010, 08:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB