Hi there,
I am new to this site so hopefully I am in the right place.
What I am trying to do is to get the contents of a file, such as text.txt, and write those contents into an array or preferably an XML file. But here’s the catch, content on the txt file will run from a certain line (ex line 16-160), everything else is irrelevant. I have looked into the file_get_contents() and fgetcsv() but so far no luck.
This is an example of the data I’m looking to pull from the txt file.
Thank you in advance.