Forum Moderators: coopster
10001¦1234¦56789¦1
10001¦1234¦56789¦1
10001¦1234¦56789¦2
10001¦1234¦56789¦1
10001¦1234¦56789¦3
10001¦1234¦56789¦1
10001¦1234¦56789¦4
10001¦1234¦56789¦1
Now, keep in mind this file is actually several hundred lines long. Is it possible to search this file for the third instance of ¦1\n and ,as it appears above, return the number 4 as a variable?
Any help/thoughts are welcomed.
At this time it is not possible to use SQL. I have not installed it on this machine. The project I am working on now is merely for learning and wait time is not an issue at the moment.
I want to get a pretty good grasp of PHP prior to diving into SQL.
Looking through my documentation, I am not seeing a function that returns the current line number as a number. And do I need to explode the file first?