Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
$filename = "data.txt";
$fp = fopen($filename, "r");
$file_data = explode("\n",fread($fp, filesize($filename)));
fclose($fp);
echo $file_data[count($file_data)-1];[/b]
count($file_data)
$file_data=explode("\n", fread(...))
$file_data=file("data.txt");
echo nl2br($file_data[count($file_data)-1]);