I have an HTML pages with blocks of text seperated by two "<hr><hr>" tags in a row.
I am trying to display each as a seperate array item like this:
$matches[6]
$matches[7]
$matches[8]
As of now, only [0 works], and it shows up as one huge block! any ideas?
$html = file("test.html");
$string = implode("", $html);
eregi ("<HR><HR>.*<HR><HR>", $string, $matches);
echo "$matches[0]";