"; } $dif=3-$c; for($i=1; $i<=$dif; $i++){ echo "

 

"; } }else{ $query = "select * from noticias where id_noticia='".$_GET['id_noticia']."'"; $result = mysql_query($query) or die("Error en el Query : " . mysql_error()); $num_rows = mysql_num_rows($result); while ($row = mysql_fetch_array($result)) { extract($row); echo "


<< Volver

$titulo

".nl2br($resumen)."
".nl2br($cuerpo)."


<< Volver

"; } echo "
"; $query = "select * from noticias ORDER BY RAND() LIMIT 5"; $result = mysql_query($query) or die("Error en el Query : " . mysql_error()); $num_rows = mysql_num_rows($result); while ($row = mysql_fetch_array($result)) { extract($row); echo " "; } echo "
"; } ?>