Ver Mensaje Individual
  #8 (permalink)  
Antiguo 13/06/2015, 09:44
IVICP3
 
Fecha de Ingreso: febrero-2015
Mensajes: 61
Antigüedad: 10 años
Puntos: 0
Respuesta: Problema con variable

Cita:
Iniciado por skywolker Ver Mensaje
creo que puedes.
Por eso preguntaba esto.

Código PHP:
Ver original
  1. $consulta2 = "SELECT Album FROM fotos WHERE idfoto = '$idfoto'";
  2.  
  3.  
  4. mysqli_query($conexion, $consulta);
  5. mysqli_query($conexion, $consulta2);
  6. }
  7.  
  8.  
  9.  
  10.                
  11.                     header("Location: administrar_fotos.php?id=XXXXXXX[Album]");

Hago una consulta, hago el query y como se lo paso al headeR?? Las XXX es la parte que me falta.