 
			
				26/07/2004, 16:11
			
			
			     |  
      |    |    |    Fecha de Ingreso: junio-2004  Ubicación: Ciudad de Panama  
						Mensajes: 551
					  Antigüedad: 21 años, 4 meses Puntos: 8     |        |  
  |      Holas !   
Señores... Con la novedad de que me quedo grande . Les adjunto script de la ventana secundaria. No pude armar el input type=radio para que me lleve esos datos a la pagina principal. A ver si me regalan el ultimo empujoncito armando el value del type=radio.  Mil gracias   
<?php 
    include 'DB.php'; 
    include 'configuracion/abrirbd1.php'; 
    $sql = "SELECT * FROM zonas"; 
    $result = $db->query($sql); 
    $mat_zon = $db->getAll($sql); 
?>   
<html> 
   <body topmargin='0' leftmargin='0'> 
      <form name='form1' action='pruebas.php' target='principal'> 
         <table border="1"> 
              <?php 
                     while ($result->fetchInto($row)) 
                     { ?> 
                         <td><input type=radio value="?????" onClick='window.close()'> 
                         <td><? echo $row['zona']; ?></td><td><? echo $row['desc_zona']; ?></td><tr> 
               <? }  ?> 
           </table> 
      </form> 
   </body> 
</html>       
En el script principal tengo:   
<html> 
   <head> 
      <script languaje="javascript"> 
         function abrirVentana() { 
             var miPopup 
              miPopup = window.open("http://miServer/zona.php","miVentana","width=600, height=400,menubar=no") 
          } 
      </script> 
   </head> 
   <body topmargin="0" leftmargin="0" onLoad="principal"> 
      <form action="<? echo $PHP_SELF ?>" method="get"> 
         <table border=1> 
            <td>Zona</td> 
            <td><input type="text" name="zona" value="<? echo $zona; ?>" onChange="abrirVentana()"></td> 
            <td>Nombre</td> 
            <td><input type="text" name="desc_zona" value="<? echo $desc_zona; ?>"></td> 
         </table> 
      </form> 
   </body> 
</html>           |