Is there a way to:
- count number of lines (1 line = data row) in my small_db.php
- tell PHP to move file pointer exactly to start of line 322. (so I could fgets() data from this line)
- tell PHP to return line number or entire content of line in which text "Quick brown fox" occures?
I know there is another way by getting all contents of file in one single string, but as you know that method is time and memory inefficient if the size of file is big.