Ver original$sSQL="Update tutabla Set ganancias='".$_POST['estado']."' WHERE (codigo='".$_POST['id']."')";