I have this code example - it prints out the first four rows of the array - but if i want it to print out the four last one? I tried to use rsort but i could not get it to work. any ideas?
$fp=fopen($filnamn,'r');
while (!feof($fp))
{
$lines[]=fgets($fp,4000);
}
fclose($fp);
for ($i=0;$i< 3;$i++)
{
print $lines[$i];
}