Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/02/2011, 12:14
jmbarile07
 
Fecha de Ingreso: febrero-2011
Ubicación: San Luis - Argentina
Mensajes: 9
Antigüedad: 13 años, 2 meses
Puntos: 0
Respuesta: Abrir una HTML en un IFRAME desde PHP

Gracias por responder, algo estoy haciendo mal....

con lo que me comentastes hice esto ...

switch(true) {

case ($usuario=="Fabian") && ($password=="123"):
?>
<script type="text/javascript">
iframe = document.getElementById('frame');
iframe.src = 'clientes1.html';
</script>
<?
break;

case ($usuario=="Estudio") && ($password=="321"):
header ("Location: clientes2.html");
break;

default:
header ("Location: errorcliente.html");

}

Pero no anda, en que estoy fallando?