Hi I'm trying to parse multiple entries on a page, i've managed to get it working for the first entry, but can't seem to figure out a while statement that will run through all the entries on the page:
include("includes/config.php");
$movieHTML = file_get_contents("test.html");
$matched = preg_match('/<a href="(.*?)">(.*?)<\/a>/is', $movieHTML, $match);
echo $match[1];
echo "<br>";
echo $match[2];
echo "<br><br>";