ID: 44062 Updated by: [EMAIL PROTECTED] Reported By: janko at ami dot cz Status: Open Bug Type: PCRE related Operating System: Windows XP PHP Version: 5.2.5 New Comment:
See bug#42649 Previous Comments: ------------------------------------------------------------------------ [2008-02-06 13:11:49] janko at ami dot cz Description: ------------ Im will try match part of HTML page. Concretely table of fixtures. URL is http://www.eurofotbal.cz/ligue-1/2007-2008/vysledky-rozlosovani/?month=02 Here is code $url = "http://www.eurofotbal.cz/ligue-1/2007-2008/vysledky-rozlosovani/?month=02"; $content = file_get_contents($url); preg_match('~<table cellspacing="0" cellpadding="0" class="matches">(.+)</table>~Usi', $content, $out); //print_r($out); echo "<table border=1>"; echo $out[1]; echo "</table>"; Everything is OK, but when I want match all fixtures, result is empty. URL is http://www.eurofotbal.cz/ligue-1/2007-2008/vysledky-rozlosovani/?month=0 Structure is the same like previous example Can you tell me where is error? RJ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44062&edit=1
