עשיתי משהו בכלל לא יעיל (לפי דעתי אפשר לשפר), אבל עובד טוב.
PHP קוד:
<?php
$site = file_get_contents('http://www.toto.org.il/85_zimzumim.asp');
preg_match_all("/<td nowrap colspan=4 style='height:20px'><b>(.*?)<\/b><\/td>/si" , $site , $arr);
$title = $arr[1][0];
preg_match_all("/<td align=right style='font-size:10px;color:#000000'>(.*?) <\/td>/si" , $site , $arr2);
preg_match_all("/<a class=teamslink style='font-weight:normal' href=javascript:showStat(.*?)>(.*?)<\/a><\/td>/si" , $site , $arr3);
$html = "
<div style = \"text-align: center\">$title</div> <br />
<table border = \"1\" cellpading = \"0\" cellspacing = \"0\" width = \"80%\" dir = \"rtl\">
<tr>
<td>המשחק</td>
<td>תאריך</td>
</tr>
";
$total = sizeof($arr3[2]);
for($i = 0; $i < $total; ++$i)
{
$html .= "
<tr>
<td>{$arr3[2][$i]}</td>
<td>{$arr2[1][$i]}</td>
</tr>
";
}
$html .= "</table>";
echo $html;
?>
תהנה..