hehe if the file contents is on a line seperately such as:
lets say this is the file below:
This is one line
This is the second line
This is the last line of the file
Now lets say you want to grab each bit of it from the file... You use the file() function, reads the contents of a file into an array..
$fileContents = file("thisismyfile.txt");
echo $fileContents[0];