Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/05/2011, 08:11
angeles33
 
Fecha de Ingreso: noviembre-2007
Mensajes: 122
Antigüedad: 16 años, 5 meses
Puntos: 2
error link en titulo

while( $row = mysql_fetch_array($res) ) :
$rows[$count]['img'] = URL .'/imagenes/web/min/' . $row['imagen'];
$rows[$count]['titulo'] = '<a href="'. URL .'/noticias-'. $row['titulo_url'].'.html">$row['titulo'] </a>'.$page; $rows[$count]['fecha'] = $noticias->formateaFecha($row['fecha']);// . $rows[$count]['title'];
$rows[$count]['cuerpo'] = corta_string(strip_tags($row['cuerpo'],'<b>,<a>,<strong>'),20).'...
<a href="'. URL .'/noticias-'. $row['titulo_url'].'.html" class="enlaces">
+ m&aacute;s
</a>';
if($page == 1): ?>
<ul class="noticias">
<li>
<img src="<?php print $rows[$count]['img'] ?>" alt="" width="92" height="62" class="img1" />
<span class="titulo"> <?php print $rows[$count]['titulo'] ?></span>
<p>
<strong><span class="fecha"><?= $noticias->formateaFecha($row['fecha']); ?></span></strong>
<?php print $rows[$count]['cuerpo'] ?>
</p>
</li>
</ul>

estoy intentando que el titulo sea un link, pero no me funciona, no veo el error. alguien me puede ayudar?
gracias