Welcome Guest, Not a member yet? Register   Sign In
UPDATE not work, PLZ Help me
#7

[eluser]Matthieu Fauveau[/eluser]
You cannot pass variables to a controller method (except when they are used as internal functions inside the controller).

You just need to pass the $id of the db record to your view and post it via the form either via hidden field or via the action parameter. Then fetch it via $this->input->post (or ->get) and call your model function.


Messages In This Thread
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 08:57 AM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 09:07 AM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 10:00 AM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 10:28 AM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 11:42 AM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 11:59 AM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 01:16 PM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 01:40 PM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 01:46 PM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 01:50 PM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 01:52 PM
UPDATE not work, PLZ Help me - by El Forum - 06-12-2010, 02:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB