plznty Posted February 7, 2010 Share Posted February 7, 2010 How can i get data from a line number.. for example I want line 3 of text.txt. Text.txt - 1 2 I want this 4 5 Thanks in advance Link to comment https://forums.phpfreaks.com/topic/191292-how-to-get-data-from-line-number/ Share on other sites More sharing options...
gizmola Posted February 7, 2010 Share Posted February 7, 2010 Check out http://www.php.net/file Link to comment https://forums.phpfreaks.com/topic/191292-how-to-get-data-from-line-number/#findComment-1008569 Share on other sites More sharing options...
teamatomic Posted February 7, 2010 Share Posted February 7, 2010 $array=file() $array[2] HTH TEamatomic Link to comment https://forums.phpfreaks.com/topic/191292-how-to-get-data-from-line-number/#findComment-1008570 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.