En lugar de esto:
Código PHP:
$comp= mysql_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:
$comp= mysql_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/