如何在 php 中解析每个带有“evenRowIndxView”类的块中带有“StockItem”类的第五个表达式?
源 html 有几个带有“evenRowIndxView”类的“块”:
<tr class="evenRowIndxView" onclick="document.location = 'wmquerysnew.asp?refID=12105397&deststamp=59'"> <td class="StockItem" align='center' >12105397</td> <td class="StockItem" nowrap align='right' >100,00</td> <td class="StockItem" nowrap align='right' >3268,00</td> <td class="StockItem" nowrap align='right' >0,0305</td> <td class="StockItem" nowrap align='right' >32,6800 ( +1,37%)</td> <td class="StockItem" nowrap align='right' >199,5</td> <td class="StockItem" nowrap align='right' >6519,64</td> <td class="StockItem" nowrap align='right' >08.06.2013 12:11:36</td> </tr> <tr class="oddRowIndxView" onclick="document.location = 'wmquerysnew.asp?refID=12105391&deststamp=57'"> <td class="StockItem" align='center' >12105391</td> <td class="StockItem" nowrap align='right' >90,85</td> <td class="StockItem" nowrap align='right' >2968,96</td> <td class="StockItem" nowrap align='right' >0,0305</td> <td class="StockItem" nowrap align='right' >32,6798 ( +1,37%)</td> <td class="StockItem" nowrap align='right' >99,5</td> <td class="StockItem" nowrap align='right' >3251,64</td> <td class="StockItem" nowrap align='right' >08.06.2013 12:04:41</td> </tr>
ETC...