Hi, How do I get the Last Line of the file?
thanks
Use feof function
More info: http://www.php.net/manual/function.feof.php
or
$file = file(“thefileinquestion”);
$lastline = $file[count($file) - 1];