The code below makes the page load the news updates so the most recent is on the BOTTOM. I want to change the code so the most recent addition to the text file gets loaded on the TOP. How?!?!
<?php
$fd = fopen ("txtlist/news.txt", "r");
$content = fread ($fd, filesize ("txtlist/news.txt"));
fclose($fd);
$line = explode(";;", $content);
echo "<table cellpadding=4 cellspacing=9>";
foreach ($line as $lines) {
if ($lines) {
$linestr = explode(";", $lines);
$date = $linestr[0];
$body = $linestr[1];
echo "<tr>";
echo "<td align=center><b>$date</b></td>";
echo "</tr>";
echo "<tr>";
echo "<td align=center>$body</td>";
echo "</tr>";
echo "<tr>";
echo "</tr>";
echo "<tr>";
echo "</tr>";
}
}
echo "</table>";
?>
</p>