Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/06/2003, 02:12
Avatar de ProgramacionWeb
ProgramacionWeb
 
Fecha de Ingreso: junio-2003
Ubicación: Barcelona
Mensajes: 176
Antigüedad: 21 años, 9 meses
Puntos: 2
En lugar de esto:

Código PHP:
$compmysql_query("SELECT * FROM instalador where rut_instalador = $rut_ist");
if(
$row mysql_fetch_array($comp)){
echo 
'<script language="JavaScript">';
echo 
' alert("El Instalador ya está Ingresado");';
echo 
' history.go(-1);';
echo 
'</script>';

Pon:

Código PHP:
$compmysql_query("SELECT * FROM instalador where rut_instalador = $rut_ist");
if(
$row mysql_fetch_array($comp)){
echo 
'<script language="JavaScript">';
echo 
' alert("El Instalador ya está Ingresado");';
echo 
' document.location = "http://www.direccion.com/";';
echo 
'</script>';

De manera que en lugar de volver cargara http://www.direccion.com/
__________________
Foros en los que participo: