Hi, i have this code which read the information from a file:
$oppna_filen=fopen($filnamn,'r');
while (!feof($oppna_filen))
{
$rader[]=fgets($oppna_filen,3997);
}
fclose($oppna_filen);
for ($i=0;$i<count($rader);$i++)
{
print $rader[$i];
}
It works fine, but I would like to reverse the results, now it reads the file as it is from the beginning to the end - but i want to display the result from the end and up, how do you i do that?