Hey everyone.
I have a file that contains many lines of links, and lines are constantly added to the beginning of it. Sometimes I empty it, so this file's number of lines changes a lot. Here's what the file looks like:
<a href=01News.php#66>WTC has been destroyed</a><br>
<a href=01News.php#9>evan's birthday!</a><br>
<a href=01News.php#1>jacob won award</a><br>
<a href=01News.php#233>new page is up!</a><br>
<a href=01News.php#34>second news post is cool!</a><br>
<a href=01News.php#5>site has been created.</a><br>
This file is require() 'd in the home page, but it displays all these links. I just want it to display the first five lines.
Long story short, how to i require() only the first 5 lines of a file?