algo tengo mal asi lo hice al final y no me muestra nada...
Código PHP:
<?php
$dbh = EstablecerConexion();
$a=mysql_query("select *from notic where PosicnColumn=1");
$b=mysql_fetch_array($a);{
$aux=$b['CodSeccin'];
$c=mysql_query("select *from seccin where Codseccin='$aux'");
$d=mysql_fetch_array($c);
{
if ($Datos) {
include("datosnoticia.php");
}
?>
<div id="noticia1">
<img src="<?php echo $RutaFotos?>/1.jpg" width="400" height="250"/><?php
?><br /><br />
<!--esto es titular principal -->
<p>
<span id="etiqueta"><?php echo $d['Nomseccin'];?></span><br /><br />
<span class="titularprincipal"><a href="detnotic.php?CodNotic=<?php $b['CodNotic']; ?>"><?php echo $$b['TitNotic']; ?></a></span><br />
<span id="resumennoticia"><span id="hora"><?php echo $b['Hora']; ?> </span><?php echo $b['ResumnNotic']; ?></span>
<?php
}
}
mysql_close();
?>