".mysql_error()."SQL: $logsql"); $mesg = 'Update success'; } $_POST[ctrID] = "$_POST[cID]"; #-after the change still show the item under edits } } ?>