please help me get the link and text from this tag. <h3 class="post-title entry-title">
has to be included because I want the links from that specific tag.
<h3 class="post-title entry-title">
<a href="http://mymplogk.blogspot.com/2011/03/h_25.html">Text</a>
</h3>
my work so far is
<?php
$string = file_get_contents('http://www.domain.com');
$regex_pattern = "";
unset($matches);
preg_match_all($regex_pattern, $string, $matches);
foreach ($matches[0] as $paragraph) {
echo $paragraph;
echo "<br>";
}
?>
Thank you in advance