Hi there
I need a PHP script to extract a number of lines from a text file, and insert them into an array.
The lines that I need to extract all have the following in common:
- the line preceding it has a line of dashes, preceded by 4 spaces ;
- the line after it is blank, and then is followed by another line of dashes (with no preceding spaces).
Like this:
----------------------
Total : 26.225 %
--------------------------
Any suggestions on how to do this?
Thanks in Advance.
Mills