Das wäre so mein AnsatzPHP-Code:<?
$datei = "datenbank.txt";
if( file_exists( $datei ) ):
$inhalt = file( $datei );
$anzahl = count( $inhalt );
for($i = $anzahl-5; $i < $anzahl; $i++):
list( $text1, $text2, $text3 ) = explode( "|" , $inhalt[$i] );
echo "<font face=\"Arial\" size=\"3\">".$text1." <br> ".$text2." <br> ".$text3."</font>";
endfor;
else:
echo"Die $datei - Datei wurde nicht gefunden gefunden";
endif;
?>

LinkBack URL
About LinkBacks
Zitieren
