I am having some problems opening a file, looking text from a specific area and displaying the results.
File example:
<SECTION ONE>
This information to be retrieved
</SECTION ONE>
<SECTION TWO>
This information to be later
</SECTION TWO>
Code example:
@ $fp = fopen("./$module", "r");
.
.
preg_match("/<SECTION ONE>(.*)<\/SECTION ONE>/", $fp, $match);
Iām missing some way of reading the contents of the file. Any help?