"Operacion anulada"
Alguien sabe que puede ser?
Código PHP:
<?php
require('configuracion.php');
require('funciones.php');
$id = $_GET["id"];
$rs=mysql_query("SELECT * FROM inquilinos WHERE NOT EXISTS (SELECT * FROM vista WHERE inquilinos.rsocial = vista.rsocial AND noticia_id = '$id') ORDER BY rsocial");
if(mysql_num_rows($rs)>0)
{
$template = implode("", file('detalle_abrir.php'));
while($row = mysql_fetch_assoc($rs))
{
$color=($color==""?"#5b69a6":"");
$row["color"] = $color;
//manipulamos el mensaje
$row["mensaje"] = nl2br($row["mensaje"]);
$row["mensaje"] = parsearTags($row["mensaje"]);
mostrarTemplate($template, $row);
}
}
?></td>
<td valign="top"><?php
$id = $_GET["id"];
$sql = "SELECT * ";
$sql.= "FROM vista ";
$sql.= "WHERE noticia_id ='$id' ORDER BY rsocial";
$rs = mysql_query($sql, $con);
if(mysql_num_rows($rs)>0)
{
$template = implode("", file('detalle_abrir2.php'));
while($row = mysql_fetch_assoc($rs))
{
$color=($color==""?"#5b69a6":"");
$row["color"] = $color;
//manipulamos el mensaje
$row["mensaje"] = nl2br($row["mensaje"]);
$row["mensaje"] = parsearTags($row["mensaje"]);
mostrarTemplate($template, $row);
}
}
?>