php 截取网页表格问题
我的一个网页如下:
<html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="utf-8" /> <body> <form action="" method="get" > <table width="651" height="37" border="1"> <tr> <td width="30">ID</td> <td width="76">省份ID</td> <td width="80">省份名称</td> <td width="92">车牌号前称</td> <td width="88">是否显示</td> <td width="163">操作</td> </tr> <tr> <td width="30">10</td> <td width="76">55</td> <td width="80">广西</td> <td width="92">湘</td> <td width="88">1</td> <td width="163"><a href="/province/editProvince?provinceID=10">编辑</a> <a href="/province/deleteProvince?provinceID=10">删除</a></td> </tr> <tr> <td width="30">9</td> <td width="76">20</td> <td width="80">广东</td> <td width="92">粤</td> <td width="88">1</td> <td width="163"><a href="/province/editProvince?provinceID=9">编辑</a> <a href="/province/deleteProvince?provinceID=9">删除</a></td> </tr> </table> <span class="inactivePrev">上一页</span> <a class="current" href="javascript:void(0);">1</a> <span class="inactiveNext">下一页</span> </form> </body></html>