Ver Mensaje Individual
  #6 (permalink)  
Antiguo 24/03/2015, 10:11
miguelA4
 
Fecha de Ingreso: marzo-2015
Ubicación: Valencia
Mensajes: 132
Antigüedad: 10 años
Puntos: 0
Respuesta: El formulario no me devuelve a la pagina solicitada

Que tendria que cambiar el header de aqui??

Código PHP:
  $insertGoTo "../_admin/indice1.php";
  if (isset(
$_SERVER['QUERY_STRING'])) {
    
$insertGoTo .= (strpos($insertGoTo'?')) ? "&" "?";
    
$insertGoTo .= $_SERVER['QUERY_STRING'];
  }
  
header(sprintf("Location: %s"$insertGoTo));

O borrar y poner solo el header???
Tendria que hacer algo mas en el boton?

Muchas gracias

Pateketrueke, tambien se puede por Javascript?

1000 gracias!