Good morning everyone! Hi, I'm new to php and I'm looking for a way to get the most out of a php file.
What I want to do is simple, to read a txt file, when I find a certain word, I need to jump to the next line and read those lines, until the word is found again. I have more experience in java, and in java we have a method called readLine()
, which automatically moves to the next line. I saw that in php there is this readLine()
, but I did not know how to apply it, or it is different from what I use in java.
Well, thank you in advance for your help and attention.
Thanks!