I'm trying to read a specific line from a text file using php.
Here's the text file:
$myFile = "4-24-11.txt";
$fh = fopen($myFile, 'r');
$theData = fgets($fh);
$myFile = "4-24-11.txt"; $lines = file($myFile);//file in to an array echo $lines; //line 2