html代码:
<tr class="dd1">
<td>Aug 27, 2013</td>
<td>
<a href="/schedule/1588-zimbabwe-vs-pakistan-1st-odi-match.php" class="url">Zimbabwe vs Pakistan</a><b>, 1st ODI</b>
</td>
<td>
<a href="/venue/harare.php">Harare</a>
</td>
php代码:
$html = file_get_html('http://www.cricschedule.com/format/odi.php');
$es = $html->find('table td');
echo "$ea[4]";
我想要这样的输出:
津巴布韦 vs 巴基斯坦,第一次 ODI
但我得到的输出是这样的:
Zimbabwe vs Pakistan , 1st ODI