i have a string which is being generated dynamically
<p style="line-height:22px;"><b>Abstract</b><br>
Aims: The purpose of this study was to investigate a possible role of serum LDH as a predictor of cancer.
</p>
the text in this string is dynamic. i just want to extract the text from this string using explode function. my code so far. But it just gives me blank result. no errors no text. I am new to php.
here is the link of the page i am working on.
http://test.pjnmed.com/?mno=284644
I want the text below the abstract.
$content = file_get_contents("https://www.ejmanager.com/index_myjournal.php?jid=" . $jid . "&mno=" . $_GET[mno]);
$abstract_text = explode('<p style="line-height:22px;"><b>Abstract</b><br>', $content);
$content = $abstract_text[1];
$abstract_text = explode('</p>', $content);
$content = $abstract_text[0];
echo $content;