//obener datos noticias solo las tres primeras
$sql="select * from noticias where seccion='Noticias' and visible='S' order by orden asc";
$consulta=mysqli_query($conexion,$sql)
or die ("No puedo consultar");
//fin obtener datos
$nfilas=mysqli_num_rows($consulta);
$row=0;
print('
');
for($i=0;$i<$nfilas;$i++)
{
$row++;
?>
//datos fila
$resultado=mysqli_fetch_array($consulta);
?>
print(substr(html_entity_decode(strip_tags($resultado['copete'])),0,100));?>...
Continuar Leyendo...
//datos fila
if($row==3)
{
print('
');
$row=0;
}
}
?>