Ver Mensaje Individual
  #10 (permalink)  
Antiguo 01/02/2011, 16:10
Avatar de Libras
Libras
Colaborador
 
Fecha de Ingreso: agosto-2006
Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 17 años, 8 meses
Puntos: 774
Respuesta: Recoger variables con $_SESSION


$sql = "UPDATE registro set (password, nombre, apellido, Aniversario, email, nacionalidad, ciudad, sexo, banco, ncuenta, tcuenta, dni, tdni) VALUES" . "('" . quitar($_POST['password']) . "', '" . quitar($_POST['nombre']) . "', '" . quitar($_POST['apellido']) . "', '" . quitar($_POST['Aniversario']) . "', '" . quitar($_POST['email']) . "', '" . quitar($_POST['nacionalidad']) . "', '" . quitar($_POST['ciudad']) . "', '" . quitar($_POST['sexo']) . "', '" . quitar($_POST['banco']) . "', '" . quitar($_POST['ncuenta']) . "', '" . quitar($_POST['tcuenta']) . "', '" . quitar($_POST['dni']) . "', '" . quitar($_POST['tdni']) . " WHERE nick='$nick'
')";


Saludos!