Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/11/2009, 06:25
ib3xn0
 
Fecha de Ingreso: febrero-2008
Mensajes: 178
Antigüedad: 16 años, 2 meses
Puntos: 1
Respuesta: Ventana nueva en "include"

de esta forma me abre pero en otra pestaña del navagador, lo pongo con comillas simples porque no me deja con las dobles:

Código PHP:
<?php
echo "<table border = '0'> \n";
echo 
"<tr> \n";
echo 
"<td></td> \n";
echo 
"<td></td> \n";
echo 
"<td></td> \n";
echo 
"<td></td> \n";
echo 
"<td></td> \n";
echo 
"<td></td> \n";
echo 
"</tr> \n";
    while (
$row mysql_fetch_row($result)){
    echo 
"<tr> \n";
echo 
"<td width='10px'>$row[0]</td> \n";
echo 
"<td width='220px'><a href='insertar.php' target='_blank' onClick='window.open(this.href, this.target, 'width=300,height=400'); return false;'>$row[1]</a></td> \n";
echo 
"<td width='20px'>$row[2]</td> \n";
echo 
"<td width='20px'>$row[3]</td> \n";
echo 
"<td width='270px'>$row[4]</td> \n";
echo 
"<td width='20px'>$row[5]</td> \n";
echo 
"</tr> \n";
}
echo 
"</table> \n";
?>
Salu2.