I\'m trying to read a specific line from a text file using php. Here\'s the text file:
foo foo2
How would I get the content of the seco
$myFile = "4-24-11.txt"; $lines = file($myFile);//file in to an array echo $lines[1]; //line 2
file — Reads entire file into an array