I have this code:
// Example by deerme.org
$data = file_get_contents("http://www.powerball.com/pb_home.asp");
if ( preg_match('|<font size="5" color="#000000"><strong>(.*)</strong></font>| ' , $data , $cap ) )
{
echo $cap[1];
}
It works well, what it does is find a chain on the page and print it on the screen, but only search once and I need you to search the entire page and print all the matches you have, if someone is familiar with the preg_match or if you know any other way of acerlo I would appreciate it. Thanks !!!