Ver Mensaje Individual
  #5 (permalink)  
Antiguo 08/11/2011, 07:22
Pelao
 
Fecha de Ingreso: abril-2003
Mensajes: 260
Antigüedad: 21 años
Puntos: 1
Respuesta: Error Operación Anulada IE

gracias a ambos!

cambie un poco la hoja y funciono, quedo asi:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Estadisticas</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.Estilo1 {font-family: Arial, Helvetica, sans-serif}
.Estilo1 {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
}
-->
</style></head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
  <tr>
    <td width="50%"><img src="ima/eliminar.gif" width="16" height="16" align="absmiddle" /> </td>
    <td width="50%"><img src="ima/icon_accept.gif" width="16" height="16" align="absmiddle" /> </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
  <tr>
    <td width="50%" valign="top"><?php

require('configuracion.php');

$id = $_GET["id"];

$tabla=mysql_query("SELECT * FROM inquilinos WHERE NOT EXISTS (SELECT * FROM vista WHERE inquilinos.rsocial = vista.rsocial AND noticia_id = '$id') ORDER BY rsocial");


while ($registro = mysql_fetch_array($tabla)) { // comienza un bucle que leera todos los registros y ejecutara las ordenes que siguen
$id= $registro['id'];
$rsocial = $registro['rsocial'];


echo"<span class='Estilo1'>$rsocial</span><br>"; 

} 

mysql_free_result($tabla); 


?></td>
    <td width="50%" valign="top"><?php
	
	$id = $_GET["id"];
	
$tabla2 = mysql_query("SELECT * FROM vista WHERE noticia_id ='$id' ORDER BY rsocial");

 // selecciono todos los registros de la tabla usuarios, ordenado por nombre

while ($registro2 = mysql_fetch_array($tabla2)) { // comienza un bucle que leera todos los registros y ejecutara las ordenes que siguen
$id= $registro2['id'];
$rsocial = $registro2['rsocial'];

echo"<span class='Estilo1'>$rsocial</span><br>"; 
  
} // fin del bucle de ordenes

mysql_free_result($tabla); 

?></td>
  </tr>
</table>
</body>

</html> 
Saludos!
__________________
Bye!