$query=mysql_query("select * from larevista_sponsors where NROREVISTA = '$idrevista' and IDTIPO = '1' order by ID ASC");
while($row=mysql_fetch_array($query))
{
?>
if ($idrevistaActual != $row['NROREVISTA']) $row['URL'] = '';
if ($row['URL'] != '') echo "".$row['SPONSOR']."";
elseif ($row['ID'] == '9' or $row['ID'] == 22) echo "".$row['SPONSOR']."";
else echo $row['SPONSOR'];
?>
} ?>
$query=mysql_query("select * from larevista_sponsors where NROREVISTA = '$idrevista' and IDTIPO = '2' order by ID ASC");
while($row=mysql_fetch_array($query))
{
?>
if ($idrevistaActual == $row['NROREVISTA']) echo "".$row['SPONSORHOME']."";
else echo $row['SPONSORHOME'];
?>
} ?>
Resumen
bibliográfico
$q=mysql_query("select * from larevista_resumen where IDREVISTA = '$idrevista'");
$r=mysql_fetch_array($q);
echo str_replace("\n"," ",$r['RESUMEN']);
?>