I have a a php script which writes data to a txt file. I want to be able to get or echo what is on a line that I specify of this file. If anyone can help me I would eb very greatful.
$text = file('yourfile.txt'); // Reads entire file into an array echo $text[$lineNumber]; // $text is zero-based array PHP: