I have a .txt file which I am reading with php (fread). I want to print each line separately (so I can write a function to print only specified lines). How do I do this? How can I read this file line by line?
Also, if I have a delimiter, how can I put each field between the delimiters in its own array?
Any help on this will be much, much appreciated! Thanks!