Articulos
// read text file with news items.
$ArticlesLimit = 50;
$counter = 0;
$fArticles = "articulos.txt";
$fh = fopen($fArticles, 'r');
$dArt = fread($fh, filesize($fArticles));
fclose($fh);
$articles = explode("\n",$dArt);
foreach($articles as $value) {
echo '
'."\n";
$article = explode("\t",$value);
echo '
'."\n";
$counter ++;
if ($counter >= $ArticlesLimit) {break;}
}
?>