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

[eluser]Buso[/eluser]
you have to pick an option, send the id via GET or POST

if you pick get, you have to put the id in the form action, and receive it as a parameter of the function

if you pick post, you have to put the id in a hidden field, and receive it using $this->input->post

for debugging you can set a default value for id, like this

Code:
function pageedit($id=NULL) {

  if($id===NULL) { print_r($_GET); print_r($_POST); }

}

maybe that way you can see what's going on


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