Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/01/2003, 11:48
Avatar de Chuty
Chuty
 
Fecha de Ingreso: noviembre-2002
Ubicación: el bar de la esquina
Mensajes: 609
Antigüedad: 21 años, 5 meses
Puntos: 2
problema y muchas dudas

Supongamos que tengo el Siguiente Codigo
<html>
<head>
<title>Visualización de funcionarios</title>
</head>
<body>

<?php
echo "<a href="javascript:window.open('ventana.php?NUM_FIR= 13', 'nombreTarget', 'width=290,height=200,location=no,toolbar=no,menub ar=no,scrollbars=no,resizable=yes');void(null);">a brir ventana</A>";

?>

</body>
</html>

esto me da el siguiente error.
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in c:\inetpub\wwwroot\phptest\funcionarios\noanda.php on line 8

y si fuera solo html anda perfecto, como tendria que colocar la linea
<a href="javascript:window.open('ventana.php?NUM_FIR= 13', 'nombreTarget', 'width=290,height=200,location=no,toolbar=no,menub ar=no,scrollbars=no,resizable=yes');void(null);">a brir ventana</A>
en el codigo PHPpara que me funcione.
Salu2