I have .txt file with this stucture:
name size name1 size1 name2 size2 ... ...
How I can read i.e. from 150th to 165th lines and put it into array?
Thx for your help!
This should work
$array = file("file.txt"); echo $array[150]; // 150th line
not just set up a loop Al