Really struggling with how to do this... I've been reading the manual on fopen, fread, etc., but still confused...
Basically, I have a very large file, and I'm trying to find and return the text between two html tags. Specifically:
<h2 class="title">Abnormal Psychology</h2>
[a whole slew of html]
<h2 class="title">Borderline Personality Disorder</h2>
[a whole slew of html]
and I'm trying to create a new file that contains just:
Abnormal Psychoogy
Borderline Personality Disorder
Is there a way to do this with PHP?