Ver Mensaje Individual
  #4 (permalink)  
Antiguo 05/01/2006, 07:34
Avatar de gonzalezmfrank
gonzalezmfrank
 
Fecha de Ingreso: julio-2005
Ubicación: Maracaibo - Venezuela
Mensajes: 266
Antigüedad: 18 años, 9 meses
Puntos: 0
Yo lo hago así.... tiene un vinculo con los detalles de la noticia

Código HTML:
<table border="0" cellspacing="2" cellpadding="2" width="90%" align="center" style="background-color:#ffffff" class="box">
	   <tr>
	     <td height='250pt' align='justify' style='font-size:9px'>
	     <marquee direction='up' behavior='slide' SCROLLAMOUNT='1' SCROLLDELAY='100' loop='1'>
	     <?
		$ssql="SELECT * FROM noticias ORDER BY fecha_reg DESC LIMIT 5";
		$result=mysql_query($ssql);
		while ($row=mysql_fetch_array($result)){
		  $texto_largo = revisar_tildes($row[detalle]);
		  echo "<a href='articulos.php?idnot=".$row[ID]."'>".substr($row[titular],0,30)."...</a><hr>";
		  echo substr($texto_largo,0,80)."...";
		  echo "<br><font color='#c0c0c0'>Publicado el ".$row[fecha_reg]."</font><br><br>";
		}
		mysql_free_result($result);
		mysql_close();
	     ?>
	     </marquee>
	     </td>
           </tr>
</table> 
Incluyendo dentro de un html las etiquetas de PHP

Espero te sirva

Saludos

Frank

Recuerda siempre verificar las faqs